protoverse

A metaverse protocol
git clone git://jb55.com/protoverse
Log | Files | Refs | README | LICENSE

commit 07f1ddc29be3a56200adeed17049d883c1dc37d0
parent d3e2d3ef0fd145f00bd9919bc2bdbb015cdbba3d
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 29 Jul 2021 12:42:44 -0700

fix debug/release build

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Msrc/wasm.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/wasm.c b/src/wasm.c @@ -39,17 +39,17 @@ struct expr_parser { struct cursor *stack; // optional }; +#ifdef DEBUG static INLINE struct callframe *top_callframes(struct cursor *cur, int top) { return (struct callframe*)cursor_topn(cur, sizeof(struct callframe), top); } +#endif -#ifdef DEBUG static INLINE struct callframe *top_callframe(struct cursor *cur) { return (struct callframe*)cursor_top(cur, sizeof(struct callframe)); } -#endif static INLINE struct cursor *interp_codeptr(struct wasm_interp *interp) {