From 6b865a70c0f29e5ca9e13fae4a2a18406f44f4ee Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Mon, 10 Nov 2025 23:47:36 +0100 Subject: Add current_memory and grow_memory operators --- include/nanowasm/private.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'include') 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; -- cgit v1.2.3