aboutsummaryrefslogtreecommitdiff
path: root/private_include/nw/ops.h
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-05-22 14:04:36 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-06-12 13:38:05 +0200
commit4f9a2c7a2d8464b04cc08075a7762c6d457090df (patch)
treeae8fe229a3a5ba60d08b74299d0c1850685bda86 /private_include/nw/ops.h
parentf25b015e5b668028c34974bbb22faa4105c26690 (diff)
downloadnanowasm-sync-4f9a2c7a2d8464b04cc08075a7762c6d457090df.tar.gz
WIP
Diffstat (limited to 'private_include/nw/ops.h')
-rw-r--r--private_include/nw/ops.h4
1 files changed, 4 insertions, 0 deletions
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 <nanowasm/nw.h>
+#include <nw/types.h>
#include <stdio.h>
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