Export function table by default and add an option to import it

This commit is contained in:
dcodeIO
2018-03-23 15:12:03 +01:00
parent 2738eee9cd
commit ec5bb7ad51
12 changed files with 27 additions and 4 deletions

View File

@ -13,6 +13,7 @@
(memory $0 1)
(data (i32.const 4) "\16\00\00\00f\00u\00n\00c\00t\00i\00o\00n\00-\00e\00x\00p\00r\00e\00s\00s\00i\00o\00n\00.\00t\00s")
(export "memory" (memory $0))
(export "table" (table $0))
(start $start)
(func $start~anonymous|0 (; 1 ;) (type $ii) (param $0 i32) (result i32)
(get_local $0)