diff options
Diffstat (limited to 'private_include/nw/ops.h')
| -rw-r--r-- | private_include/nw/ops.h | 4 |
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 |
