diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-11-10 23:47:36 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-11-10 23:47:36 +0100 |
| commit | 6b865a70c0f29e5ca9e13fae4a2a18406f44f4ee (patch) | |
| tree | be021c1690addf53e342286e9ad76d2232240c90 /include | |
| parent | ba623c7a3a5b450b9b492de50efceea93df96039 (diff) | |
| download | nanowasm-6b865a70c0f29e5ca9e13fae4a2a18406f44f4ee.tar.gz | |
Add current_memory and grow_memory operators
Diffstat (limited to 'include')
| -rw-r--r-- | include/nanowasm/private.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/nanowasm/private.h b/include/nanowasm/private.h index bd42f1e..d42023f 100644 --- a/include/nanowasm/private.h +++ b/include/nanowasm/private.h @@ -430,6 +430,19 @@ union nw_i_sm union nw_value value; } drop; + struct nw_i_sm_cm + { + struct nw_sm_leb128 leb128; + struct nw_sm_io io; + } cm; + + struct nw_i_sm_gm + { + unsigned long pages; + struct nw_sm_leb128 leb128; + struct nw_sm_io io; + } gm; + struct nw_i_sm_call_import { enum nw_type type; |
