diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-05-22 14:04:36 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-06-12 13:38:05 +0200 |
| commit | 4f9a2c7a2d8464b04cc08075a7762c6d457090df (patch) | |
| tree | ae8fe229a3a5ba60d08b74299d0c1850685bda86 /private_include/nw/ops.h | |
| parent | f25b015e5b668028c34974bbb22faa4105c26690 (diff) | |
| download | nanowasm-sync-4f9a2c7a2d8464b04cc08075a7762c6d457090df.tar.gz | |
WIP
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 |
