summaryrefslogtreecommitdiff
path: root/src/template/wasm2c.declarations.c
diff options
context:
space:
mode:
authorYuhan Deng <31569419+yhdengh@users.noreply.github.com>2022-09-16 09:47:25 -0700
committerGitHub <noreply@github.com>2022-09-16 16:47:25 +0000
commitdd44ca91986d8de2425cfb4d8e31a23c5d9e873f (patch)
treecae8cb22c3444ef734f3b343e49acb4a87ac72b4 /src/template/wasm2c.declarations.c
parent31604f8f62c4a83d9f89b3d07631de26fe9f1fba (diff)
downloadwabt-dd44ca91986d8de2425cfb4d8e31a23c5d9e873f.tar.gz
wabt-dd44ca91986d8de2425cfb4d8e31a23c5d9e873f.tar.bz2
wabt-dd44ca91986d8de2425cfb4d8e31a23c5d9e873f.zip
wasm2c: support for module instancing (#1814)
Co-authored-by: Angela Montemayor <amontema@cs.stanford.edu>
Diffstat (limited to 'src/template/wasm2c.declarations.c')
-rw-r--r--src/template/wasm2c.declarations.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/template/wasm2c.declarations.c b/src/template/wasm2c.declarations.c
index f036ba19..4459790f 100644
--- a/src/template/wasm2c.declarations.c
+++ b/src/template/wasm2c.declarations.c
@@ -443,3 +443,5 @@ static float wasm_sqrtf(float x) {
}
return sqrtf(x);
}
+
+static bool s_module_initialized = false;