From 4f9a2c7a2d8464b04cc08075a7762c6d457090df Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Wed, 22 May 2024 14:04:36 +0200 Subject: WIP --- private_include/nw/ops.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'private_include/nw/ops.h') diff --git a/private_include/nw/ops.h b/private_include/nw/ops.h index 02f191e..1b977bf 100644 --- a/private_include/nw/ops.h +++ b/private_include/nw/ops.h @@ -11,6 +11,7 @@ #define OPS_H #include +#include #include int op_unreachable(struct nw_interp *i); @@ -66,4 +67,7 @@ int check_f32_const(FILE *f); int check_f64_const(FILE *f); int check_i32_sub(FILE *f); +int locals_get(const varuint32 local_index, struct nw_interp *const i, + struct nw_locals **const l, varuint32 *const idx); + #endif -- cgit v1.2.3