aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/lua-scripts/demo3.lua
diff options
context:
space:
mode:
Diffstat (limited to 'bruiser/lua-scripts/demo3.lua')
-rw-r--r--bruiser/lua-scripts/demo3.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/bruiser/lua-scripts/demo3.lua b/bruiser/lua-scripts/demo3.lua
new file mode 100644
index 0000000..89dde81
--- /dev/null
+++ b/bruiser/lua-scripts/demo3.lua
@@ -0,0 +1,13 @@
+
+local demo3 = {}
+
+function demo3.init()
+ local wasm = require("wasm")
+ local wasm_file = "../wasm/test/injected.wasm"
+ local wasm_module = Wasm_Module()
+ local table_type = table_type_t()
+ local resizable_limit = resizable_limit_t()
+ table_type:set_resizable_limit(resizable_limit)
+end
+
+return demo3