@thi.ng/wasm-api 0.9.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ window.searchData = JSON.parse("{\"kinds\":{\"32\":\"Variable\",\"64\":\"Function\",\"128\":\"Class\",\"256\":\"Interface\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\",\"65536\":\"Type literal\",\"262144\":\"Accessor\",\"4194304\":\"Type alias\"},\"rows\":[{\"id\":0,\"kind\":32,\"name\":\"PKG_NAME\",\"url\":\"modules.html#PKG_NAME\",\"classes\":\"tsd-kind-variable\"},{\"id\":1,\"kind\":32,\"name\":\"EVENT_MEMORY_CHANGED\",\"url\":\"modules.html#EVENT_MEMORY_CHANGED\",\"classes\":\"tsd-kind-variable\"},{\"id\":2,\"kind\":4194304,\"name\":\"BigIntArray\",\"url\":\"modules.html#BigIntArray\",\"classes\":\"tsd-kind-type-alias\"},{\"id\":3,\"kind\":256,\"name\":\"IWasmAPI\",\"url\":\"interfaces/IWasmAPI.html\",\"classes\":\"tsd-kind-interface tsd-has-type-parameter\"},{\"id\":4,\"kind\":2048,\"name\":\"init\",\"url\":\"interfaces/IWasmAPI.html#init\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IWasmAPI\"},{\"id\":5,\"kind\":2048,\"name\":\"getImports\",\"url\":\"interfaces/IWasmAPI.html#getImports\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IWasmAPI\"},{\"id\":6,\"kind\":256,\"name\":\"WasmExports\",\"url\":\"interfaces/WasmExports.html\",\"classes\":\"tsd-kind-interface\"},{\"id\":7,\"kind\":1024,\"name\":\"memory\",\"url\":\"interfaces/WasmExports.html#memory\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WasmExports\"},{\"id\":8,\"kind\":2048,\"name\":\"_wasm_allocate\",\"url\":\"interfaces/WasmExports.html#_wasm_allocate\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"WasmExports\"},{\"id\":9,\"kind\":2048,\"name\":\"_wasm_free\",\"url\":\"interfaces/WasmExports.html#_wasm_free\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"WasmExports\"},{\"id\":10,\"kind\":256,\"name\":\"IWasmMemoryAccess\",\"url\":\"interfaces/IWasmMemoryAccess.html\",\"classes\":\"tsd-kind-interface\"},{\"id\":11,\"kind\":1024,\"name\":\"i8\",\"url\":\"interfaces/IWasmMemoryAccess.html#i8\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IWasmMemoryAccess\"},{\"id\":12,\"kind\":1024,\"name\":\"u8\",\"url\":\"interfaces/IWasmMemoryAccess.html#u8\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IWasmMemoryAccess\"},{\"id\":13,\"kind\":1024,\"name\":\"i16\",\"url\":\"interfaces/IWasmMemoryAccess.html#i16\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IWasmMemoryAccess\"},{\"id\":14,\"kind\":1024,\"name\":\"u16\",\"url\":\"interfaces/IWasmMemoryAccess.html#u16\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IWasmMemoryAccess\"},{\"id\":15,\"kind\":1024,\"name\":\"i32\",\"url\":\"interfaces/IWasmMemoryAccess.html#i32\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IWasmMemoryAccess\"},{\"id\":16,\"kind\":1024,\"name\":\"u32\",\"url\":\"interfaces/IWasmMemoryAccess.html#u32\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IWasmMemoryAccess\"},{\"id\":17,\"kind\":1024,\"name\":\"i64\",\"url\":\"interfaces/IWasmMemoryAccess.html#i64\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IWasmMemoryAccess\"},{\"id\":18,\"kind\":1024,\"name\":\"u64\",\"url\":\"interfaces/IWasmMemoryAccess.html#u64\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IWasmMemoryAccess\"},{\"id\":19,\"kind\":1024,\"name\":\"f32\",\"url\":\"interfaces/IWasmMemoryAccess.html#f32\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IWasmMemoryAccess\"},{\"id\":20,\"kind\":1024,\"name\":\"f64\",\"url\":\"interfaces/IWasmMemoryAccess.html#f64\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IWasmMemoryAccess\"},{\"id\":21,\"kind\":2048,\"name\":\"getString\",\"url\":\"interfaces/IWasmMemoryAccess.html#getString\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IWasmMemoryAccess\"},{\"id\":22,\"kind\":2048,\"name\":\"setString\",\"url\":\"interfaces/IWasmMemoryAccess.html#setString\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IWasmMemoryAccess\"},{\"id\":23,\"kind\":256,\"name\":\"CoreAPI\",\"url\":\"interfaces/CoreAPI.html\",\"classes\":\"tsd-kind-interface\"},{\"id\":24,\"kind\":1024,\"name\":\"printI8\",\"url\":\"interfaces/CoreAPI.html#printI8\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":25,\"kind\":1024,\"name\":\"printU8\",\"url\":\"interfaces/CoreAPI.html#printU8\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":26,\"kind\":1024,\"name\":\"printU8Hex\",\"url\":\"interfaces/CoreAPI.html#printU8Hex\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":27,\"kind\":1024,\"name\":\"printI16\",\"url\":\"interfaces/CoreAPI.html#printI16\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":28,\"kind\":1024,\"name\":\"printU16\",\"url\":\"interfaces/CoreAPI.html#printU16\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":29,\"kind\":1024,\"name\":\"printU16Hex\",\"url\":\"interfaces/CoreAPI.html#printU16Hex\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":30,\"kind\":1024,\"name\":\"printI32\",\"url\":\"interfaces/CoreAPI.html#printI32\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":31,\"kind\":1024,\"name\":\"printU32\",\"url\":\"interfaces/CoreAPI.html#printU32\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":32,\"kind\":1024,\"name\":\"printU32Hex\",\"url\":\"interfaces/CoreAPI.html#printU32Hex\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":33,\"kind\":1024,\"name\":\"printI64\",\"url\":\"interfaces/CoreAPI.html#printI64\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":34,\"kind\":1024,\"name\":\"printU64\",\"url\":\"interfaces/CoreAPI.html#printU64\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":35,\"kind\":1024,\"name\":\"printU64Hex\",\"url\":\"interfaces/CoreAPI.html#printU64Hex\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":36,\"kind\":1024,\"name\":\"printF32\",\"url\":\"interfaces/CoreAPI.html#printF32\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":37,\"kind\":1024,\"name\":\"printF64\",\"url\":\"interfaces/CoreAPI.html#printF64\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":38,\"kind\":2048,\"name\":\"_printI8Array\",\"url\":\"interfaces/CoreAPI.html#_printI8Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":39,\"kind\":2048,\"name\":\"_printU8Array\",\"url\":\"interfaces/CoreAPI.html#_printU8Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":40,\"kind\":2048,\"name\":\"_printI16Array\",\"url\":\"interfaces/CoreAPI.html#_printI16Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":41,\"kind\":2048,\"name\":\"_printU16Array\",\"url\":\"interfaces/CoreAPI.html#_printU16Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":42,\"kind\":2048,\"name\":\"_printI32Array\",\"url\":\"interfaces/CoreAPI.html#_printI32Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":43,\"kind\":2048,\"name\":\"_printU32Array\",\"url\":\"interfaces/CoreAPI.html#_printU32Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":44,\"kind\":2048,\"name\":\"_printI64Array\",\"url\":\"interfaces/CoreAPI.html#_printI64Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":45,\"kind\":2048,\"name\":\"_printU64Array\",\"url\":\"interfaces/CoreAPI.html#_printU64Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":46,\"kind\":2048,\"name\":\"_printF32Array\",\"url\":\"interfaces/CoreAPI.html#_printF32Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":47,\"kind\":2048,\"name\":\"_printF64Array\",\"url\":\"interfaces/CoreAPI.html#_printF64Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":48,\"kind\":2048,\"name\":\"_printStr0\",\"url\":\"interfaces/CoreAPI.html#_printStr0\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":49,\"kind\":2048,\"name\":\"_printStr\",\"url\":\"interfaces/CoreAPI.html#_printStr\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":50,\"kind\":2048,\"name\":\"debug\",\"url\":\"interfaces/CoreAPI.html#debug\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":51,\"kind\":2048,\"name\":\"_panic\",\"url\":\"interfaces/CoreAPI.html#_panic\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":52,\"kind\":2048,\"name\":\"timer\",\"url\":\"interfaces/CoreAPI.html#timer\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":53,\"kind\":2048,\"name\":\"epoch\",\"url\":\"interfaces/CoreAPI.html#epoch\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"CoreAPI\"},{\"id\":54,\"kind\":256,\"name\":\"WasmTypeBase\",\"url\":\"interfaces/WasmTypeBase.html\",\"classes\":\"tsd-kind-interface\"},{\"id\":55,\"kind\":1024,\"name\":\"__base\",\"url\":\"interfaces/WasmTypeBase.html#__base\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WasmTypeBase\"},{\"id\":56,\"kind\":1024,\"name\":\"__bytes\",\"url\":\"interfaces/WasmTypeBase.html#__bytes\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WasmTypeBase\"},{\"id\":57,\"kind\":256,\"name\":\"WasmType\",\"url\":\"interfaces/WasmType.html\",\"classes\":\"tsd-kind-interface tsd-has-type-parameter\"},{\"id\":58,\"kind\":1024,\"name\":\"align\",\"url\":\"interfaces/WasmType.html#align\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WasmType\"},{\"id\":59,\"kind\":1024,\"name\":\"size\",\"url\":\"interfaces/WasmType.html#size\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WasmType\"},{\"id\":60,\"kind\":1024,\"name\":\"instance\",\"url\":\"interfaces/WasmType.html#instance\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WasmType\"},{\"id\":61,\"kind\":4194304,\"name\":\"WasmTypeConstructor\",\"url\":\"modules.html#WasmTypeConstructor\",\"classes\":\"tsd-kind-type-alias tsd-has-type-parameter\"},{\"id\":62,\"kind\":4194304,\"name\":\"WasmInt\",\"url\":\"modules.html#WasmInt\",\"classes\":\"tsd-kind-type-alias\"},{\"id\":63,\"kind\":4194304,\"name\":\"WasmUint\",\"url\":\"modules.html#WasmUint\",\"classes\":\"tsd-kind-type-alias\"},{\"id\":64,\"kind\":4194304,\"name\":\"WasmFloat\",\"url\":\"modules.html#WasmFloat\",\"classes\":\"tsd-kind-type-alias\"},{\"id\":65,\"kind\":4194304,\"name\":\"WasmPrim\",\"url\":\"modules.html#WasmPrim\",\"classes\":\"tsd-kind-type-alias\"},{\"id\":66,\"kind\":4194304,\"name\":\"WasmPrim32\",\"url\":\"modules.html#WasmPrim32\",\"classes\":\"tsd-kind-type-alias\"},{\"id\":67,\"kind\":4194304,\"name\":\"TypeColl\",\"url\":\"modules.html#TypeColl\",\"classes\":\"tsd-kind-type-alias\"},{\"id\":68,\"kind\":256,\"name\":\"TypeInfo\",\"url\":\"interfaces/TypeInfo.html\",\"classes\":\"tsd-kind-interface\"},{\"id\":69,\"kind\":256,\"name\":\"TopLevelType\",\"url\":\"interfaces/TopLevelType.html\",\"classes\":\"tsd-kind-interface\"},{\"id\":70,\"kind\":1024,\"name\":\"name\",\"url\":\"interfaces/TopLevelType.html#name\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"TopLevelType\"},{\"id\":71,\"kind\":1024,\"name\":\"doc\",\"url\":\"interfaces/TopLevelType.html#doc\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"TopLevelType\"},{\"id\":72,\"kind\":1024,\"name\":\"type\",\"url\":\"interfaces/TopLevelType.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"TopLevelType\"},{\"id\":73,\"kind\":256,\"name\":\"Struct\",\"url\":\"interfaces/Struct.html\",\"classes\":\"tsd-kind-interface\"},{\"id\":74,\"kind\":1024,\"name\":\"type\",\"url\":\"interfaces/Struct.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite\",\"parent\":\"Struct\"},{\"id\":75,\"kind\":1024,\"name\":\"fields\",\"url\":\"interfaces/Struct.html#fields\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"Struct\"},{\"id\":76,\"kind\":1024,\"name\":\"auto\",\"url\":\"interfaces/Struct.html#auto\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"Struct\"},{\"id\":77,\"kind\":1024,\"name\":\"tag\",\"url\":\"interfaces/Struct.html#tag\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"Struct\"},{\"id\":78,\"kind\":1024,\"name\":\"name\",\"url\":\"interfaces/Struct.html#name\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"Struct\"},{\"id\":79,\"kind\":1024,\"name\":\"doc\",\"url\":\"interfaces/Struct.html#doc\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"Struct\"},{\"id\":80,\"kind\":256,\"name\":\"StructField\",\"url\":\"interfaces/StructField.html\",\"classes\":\"tsd-kind-interface\"},{\"id\":81,\"kind\":1024,\"name\":\"name\",\"url\":\"interfaces/StructField.html#name\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"StructField\"},{\"id\":82,\"kind\":1024,\"name\":\"doc\",\"url\":\"interfaces/StructField.html#doc\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"StructField\"},{\"id\":83,\"kind\":1024,\"name\":\"tag\",\"url\":\"interfaces/StructField.html#tag\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"StructField\"},{\"id\":84,\"kind\":1024,\"name\":\"type\",\"url\":\"interfaces/StructField.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"StructField\"},{\"id\":85,\"kind\":1024,\"name\":\"const\",\"url\":\"interfaces/StructField.html#const\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"StructField\"},{\"id\":86,\"kind\":1024,\"name\":\"sentinel\",\"url\":\"interfaces/StructField.html#sentinel\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"StructField\"},{\"id\":87,\"kind\":1024,\"name\":\"len\",\"url\":\"interfaces/StructField.html#len\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"StructField\"},{\"id\":88,\"kind\":1024,\"name\":\"default\",\"url\":\"interfaces/StructField.html#default\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"StructField\"},{\"id\":89,\"kind\":1024,\"name\":\"pad\",\"url\":\"interfaces/StructField.html#pad\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"StructField\"},{\"id\":90,\"kind\":256,\"name\":\"Enum\",\"url\":\"interfaces/Enum.html\",\"classes\":\"tsd-kind-interface\"},{\"id\":91,\"kind\":1024,\"name\":\"type\",\"url\":\"interfaces/Enum.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite\",\"parent\":\"Enum\"},{\"id\":92,\"kind\":1024,\"name\":\"tag\",\"url\":\"interfaces/Enum.html#tag\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"Enum\"},{\"id\":93,\"kind\":1024,\"name\":\"values\",\"url\":\"interfaces/Enum.html#values\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"Enum\"},{\"id\":94,\"kind\":1024,\"name\":\"name\",\"url\":\"interfaces/Enum.html#name\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"Enum\"},{\"id\":95,\"kind\":1024,\"name\":\"doc\",\"url\":\"interfaces/Enum.html#doc\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"Enum\"},{\"id\":96,\"kind\":256,\"name\":\"EnumValue\",\"url\":\"interfaces/EnumValue.html\",\"classes\":\"tsd-kind-interface\"},{\"id\":97,\"kind\":1024,\"name\":\"name\",\"url\":\"interfaces/EnumValue.html#name\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"EnumValue\"},{\"id\":98,\"kind\":1024,\"name\":\"value\",\"url\":\"interfaces/EnumValue.html#value\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"EnumValue\"},{\"id\":99,\"kind\":1024,\"name\":\"doc\",\"url\":\"interfaces/EnumValue.html#doc\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"EnumValue\"},{\"id\":100,\"kind\":256,\"name\":\"CodeGenOptsBase\",\"url\":\"interfaces/CodeGenOptsBase.html\",\"classes\":\"tsd-kind-interface\"},{\"id\":101,\"kind\":1024,\"name\":\"pre\",\"url\":\"interfaces/CodeGenOptsBase.html#pre\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CodeGenOptsBase\"},{\"id\":102,\"kind\":1024,\"name\":\"post\",\"url\":\"interfaces/CodeGenOptsBase.html#post\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CodeGenOptsBase\"},{\"id\":103,\"kind\":256,\"name\":\"CodeGenOpts\",\"url\":\"interfaces/CodeGenOpts.html\",\"classes\":\"tsd-kind-interface\"},{\"id\":104,\"kind\":1024,\"name\":\"stringType\",\"url\":\"interfaces/CodeGenOpts.html#stringType\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CodeGenOpts\"},{\"id\":105,\"kind\":1024,\"name\":\"uppercaseEnums\",\"url\":\"interfaces/CodeGenOpts.html#uppercaseEnums\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CodeGenOpts\"},{\"id\":106,\"kind\":1024,\"name\":\"header\",\"url\":\"interfaces/CodeGenOpts.html#header\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CodeGenOpts\"},{\"id\":107,\"kind\":1024,\"name\":\"debug\",\"url\":\"interfaces/CodeGenOpts.html#debug\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"CodeGenOpts\"},{\"id\":108,\"kind\":1024,\"name\":\"pre\",\"url\":\"interfaces/CodeGenOpts.html#pre\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"CodeGenOpts\"},{\"id\":109,\"kind\":1024,\"name\":\"post\",\"url\":\"interfaces/CodeGenOpts.html#post\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"CodeGenOpts\"},{\"id\":110,\"kind\":256,\"name\":\"ICodeGen\",\"url\":\"interfaces/ICodeGen.html\",\"classes\":\"tsd-kind-interface\"},{\"id\":111,\"kind\":1024,\"name\":\"pre\",\"url\":\"interfaces/ICodeGen.html#pre\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ICodeGen\"},{\"id\":112,\"kind\":1024,\"name\":\"post\",\"url\":\"interfaces/ICodeGen.html#post\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ICodeGen\"},{\"id\":113,\"kind\":2048,\"name\":\"doc\",\"url\":\"interfaces/ICodeGen.html#doc\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"ICodeGen\"},{\"id\":114,\"kind\":2048,\"name\":\"enum\",\"url\":\"interfaces/ICodeGen.html#enum\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"ICodeGen\"},{\"id\":115,\"kind\":2048,\"name\":\"struct\",\"url\":\"interfaces/ICodeGen.html#struct\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"ICodeGen\"},{\"id\":116,\"kind\":32,\"name\":\"USIZE\",\"url\":\"modules.html#USIZE\",\"classes\":\"tsd-kind-variable\"},{\"id\":117,\"kind\":32,\"name\":\"USIZE_SIZE\",\"url\":\"modules.html#USIZE_SIZE\",\"classes\":\"tsd-kind-variable\"},{\"id\":118,\"kind\":32,\"name\":\"Panic\",\"url\":\"modules.html#Panic\",\"classes\":\"tsd-kind-variable\"},{\"id\":119,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules.html#Panic.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-variable\",\"parent\":\"Panic\"},{\"id\":120,\"kind\":2048,\"name\":\"captureStackTrace\",\"url\":\"modules.html#Panic.__type.captureStackTrace\",\"classes\":\"tsd-kind-method tsd-parent-kind-type-literal\",\"parent\":\"Panic.__type\"},{\"id\":121,\"kind\":1024,\"name\":\"prepareStackTrace\",\"url\":\"modules.html#Panic.__type.prepareStackTrace\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"Panic.__type\"},{\"id\":122,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules.html#Panic.__type.__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"Panic.__type\"},{\"id\":123,\"kind\":1024,\"name\":\"stackTraceLimit\",\"url\":\"modules.html#Panic.__type.stackTraceLimit\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"Panic.__type\"},{\"id\":124,\"kind\":32,\"name\":\"OutOfMemoryError\",\"url\":\"modules.html#OutOfMemoryError\",\"classes\":\"tsd-kind-variable\"},{\"id\":125,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules.html#OutOfMemoryError.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-variable\",\"parent\":\"OutOfMemoryError\"},{\"id\":126,\"kind\":2048,\"name\":\"captureStackTrace\",\"url\":\"modules.html#OutOfMemoryError.__type.captureStackTrace\",\"classes\":\"tsd-kind-method tsd-parent-kind-type-literal\",\"parent\":\"OutOfMemoryError.__type\"},{\"id\":127,\"kind\":1024,\"name\":\"prepareStackTrace\",\"url\":\"modules.html#OutOfMemoryError.__type.prepareStackTrace\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"OutOfMemoryError.__type\"},{\"id\":128,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules.html#OutOfMemoryError.__type.__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"OutOfMemoryError.__type\"},{\"id\":129,\"kind\":1024,\"name\":\"stackTraceLimit\",\"url\":\"modules.html#OutOfMemoryError.__type.stackTraceLimit\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"OutOfMemoryError.__type\"},{\"id\":130,\"kind\":128,\"name\":\"WasmBridge\",\"url\":\"classes/WasmBridge.html\",\"classes\":\"tsd-kind-class tsd-has-type-parameter\"},{\"id\":131,\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/WasmBridge.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter\",\"parent\":\"WasmBridge\"},{\"id\":132,\"kind\":1024,\"name\":\"i8\",\"url\":\"classes/WasmBridge.html#i8\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":133,\"kind\":1024,\"name\":\"u8\",\"url\":\"classes/WasmBridge.html#u8\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":134,\"kind\":1024,\"name\":\"i16\",\"url\":\"classes/WasmBridge.html#i16\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":135,\"kind\":1024,\"name\":\"u16\",\"url\":\"classes/WasmBridge.html#u16\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":136,\"kind\":1024,\"name\":\"i32\",\"url\":\"classes/WasmBridge.html#i32\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":137,\"kind\":1024,\"name\":\"u32\",\"url\":\"classes/WasmBridge.html#u32\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":138,\"kind\":1024,\"name\":\"i64\",\"url\":\"classes/WasmBridge.html#i64\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":139,\"kind\":1024,\"name\":\"u64\",\"url\":\"classes/WasmBridge.html#u64\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":140,\"kind\":1024,\"name\":\"f32\",\"url\":\"classes/WasmBridge.html#f32\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":141,\"kind\":1024,\"name\":\"f64\",\"url\":\"classes/WasmBridge.html#f64\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":142,\"kind\":1024,\"name\":\"utf8Decoder\",\"url\":\"classes/WasmBridge.html#utf8Decoder\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":143,\"kind\":1024,\"name\":\"utf8Encoder\",\"url\":\"classes/WasmBridge.html#utf8Encoder\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":144,\"kind\":1024,\"name\":\"imports\",\"url\":\"classes/WasmBridge.html#imports\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":145,\"kind\":1024,\"name\":\"exports\",\"url\":\"classes/WasmBridge.html#exports\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":146,\"kind\":1024,\"name\":\"api\",\"url\":\"classes/WasmBridge.html#api\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":147,\"kind\":1024,\"name\":\"modules\",\"url\":\"classes/WasmBridge.html#modules\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":148,\"kind\":1024,\"name\":\"logger\",\"url\":\"classes/WasmBridge.html#logger\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":149,\"kind\":2048,\"name\":\"instantiate\",\"url\":\"classes/WasmBridge.html#instantiate\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":150,\"kind\":2048,\"name\":\"init\",\"url\":\"classes/WasmBridge.html#init\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":151,\"kind\":2048,\"name\":\"ensureMemory\",\"url\":\"classes/WasmBridge.html#ensureMemory\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":152,\"kind\":2048,\"name\":\"getImports\",\"url\":\"classes/WasmBridge.html#getImports\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":153,\"kind\":2048,\"name\":\"growMemory\",\"url\":\"classes/WasmBridge.html#growMemory\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":154,\"kind\":2048,\"name\":\"allocate\",\"url\":\"classes/WasmBridge.html#allocate\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":155,\"kind\":2048,\"name\":\"free\",\"url\":\"classes/WasmBridge.html#free\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":156,\"kind\":2048,\"name\":\"getI8\",\"url\":\"classes/WasmBridge.html#getI8\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":157,\"kind\":2048,\"name\":\"getU8\",\"url\":\"classes/WasmBridge.html#getU8\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":158,\"kind\":2048,\"name\":\"getI16\",\"url\":\"classes/WasmBridge.html#getI16\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":159,\"kind\":2048,\"name\":\"getU16\",\"url\":\"classes/WasmBridge.html#getU16\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":160,\"kind\":2048,\"name\":\"getI32\",\"url\":\"classes/WasmBridge.html#getI32\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":161,\"kind\":2048,\"name\":\"getU32\",\"url\":\"classes/WasmBridge.html#getU32\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":162,\"kind\":2048,\"name\":\"getI64\",\"url\":\"classes/WasmBridge.html#getI64\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":163,\"kind\":2048,\"name\":\"getU64\",\"url\":\"classes/WasmBridge.html#getU64\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":164,\"kind\":2048,\"name\":\"getF32\",\"url\":\"classes/WasmBridge.html#getF32\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":165,\"kind\":2048,\"name\":\"getF64\",\"url\":\"classes/WasmBridge.html#getF64\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":166,\"kind\":2048,\"name\":\"setI8\",\"url\":\"classes/WasmBridge.html#setI8\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":167,\"kind\":2048,\"name\":\"setU8\",\"url\":\"classes/WasmBridge.html#setU8\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":168,\"kind\":2048,\"name\":\"setI16\",\"url\":\"classes/WasmBridge.html#setI16\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":169,\"kind\":2048,\"name\":\"setU16\",\"url\":\"classes/WasmBridge.html#setU16\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":170,\"kind\":2048,\"name\":\"setI32\",\"url\":\"classes/WasmBridge.html#setI32\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":171,\"kind\":2048,\"name\":\"setU32\",\"url\":\"classes/WasmBridge.html#setU32\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":172,\"kind\":2048,\"name\":\"setI64\",\"url\":\"classes/WasmBridge.html#setI64\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":173,\"kind\":2048,\"name\":\"setU64\",\"url\":\"classes/WasmBridge.html#setU64\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":174,\"kind\":2048,\"name\":\"setF32\",\"url\":\"classes/WasmBridge.html#setF32\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":175,\"kind\":2048,\"name\":\"setF64\",\"url\":\"classes/WasmBridge.html#setF64\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":176,\"kind\":2048,\"name\":\"getI8Array\",\"url\":\"classes/WasmBridge.html#getI8Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":177,\"kind\":2048,\"name\":\"getU8Array\",\"url\":\"classes/WasmBridge.html#getU8Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":178,\"kind\":2048,\"name\":\"getI16Array\",\"url\":\"classes/WasmBridge.html#getI16Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":179,\"kind\":2048,\"name\":\"getU16Array\",\"url\":\"classes/WasmBridge.html#getU16Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":180,\"kind\":2048,\"name\":\"getI32Array\",\"url\":\"classes/WasmBridge.html#getI32Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":181,\"kind\":2048,\"name\":\"getU32Array\",\"url\":\"classes/WasmBridge.html#getU32Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":182,\"kind\":2048,\"name\":\"getI64Array\",\"url\":\"classes/WasmBridge.html#getI64Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":183,\"kind\":2048,\"name\":\"getU64Array\",\"url\":\"classes/WasmBridge.html#getU64Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":184,\"kind\":2048,\"name\":\"getF32Array\",\"url\":\"classes/WasmBridge.html#getF32Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":185,\"kind\":2048,\"name\":\"getF64Array\",\"url\":\"classes/WasmBridge.html#getF64Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":186,\"kind\":2048,\"name\":\"setI8Array\",\"url\":\"classes/WasmBridge.html#setI8Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":187,\"kind\":2048,\"name\":\"setU8Array\",\"url\":\"classes/WasmBridge.html#setU8Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":188,\"kind\":2048,\"name\":\"setI16Array\",\"url\":\"classes/WasmBridge.html#setI16Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":189,\"kind\":2048,\"name\":\"setU16Array\",\"url\":\"classes/WasmBridge.html#setU16Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":190,\"kind\":2048,\"name\":\"setI32Array\",\"url\":\"classes/WasmBridge.html#setI32Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":191,\"kind\":2048,\"name\":\"setU32Array\",\"url\":\"classes/WasmBridge.html#setU32Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":192,\"kind\":2048,\"name\":\"setI64Array\",\"url\":\"classes/WasmBridge.html#setI64Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":193,\"kind\":2048,\"name\":\"setU64Array\",\"url\":\"classes/WasmBridge.html#setU64Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":194,\"kind\":2048,\"name\":\"setF32Array\",\"url\":\"classes/WasmBridge.html#setF32Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":195,\"kind\":2048,\"name\":\"setF64Array\",\"url\":\"classes/WasmBridge.html#setF64Array\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":196,\"kind\":2048,\"name\":\"getString\",\"url\":\"classes/WasmBridge.html#getString\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":197,\"kind\":2048,\"name\":\"setString\",\"url\":\"classes/WasmBridge.html#setString\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":198,\"kind\":2048,\"name\":\"getElementById\",\"url\":\"classes/WasmBridge.html#getElementById\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":199,\"kind\":2048,\"name\":\"addListener\",\"url\":\"classes/WasmBridge.html#addListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":200,\"kind\":2048,\"name\":\"removeListener\",\"url\":\"classes/WasmBridge.html#removeListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":201,\"kind\":2048,\"name\":\"notify\",\"url\":\"classes/WasmBridge.html#notify\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmBridge\"},{\"id\":202,\"kind\":64,\"name\":\"generateTypes\",\"url\":\"modules.html#generateTypes\",\"classes\":\"tsd-kind-function\"},{\"id\":203,\"kind\":256,\"name\":\"C11Opts\",\"url\":\"interfaces/C11Opts.html\",\"classes\":\"tsd-kind-interface\"},{\"id\":204,\"kind\":1024,\"name\":\"typePrefix\",\"url\":\"interfaces/C11Opts.html#typePrefix\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"C11Opts\"},{\"id\":205,\"kind\":1024,\"name\":\"pre\",\"url\":\"interfaces/C11Opts.html#pre\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"C11Opts\"},{\"id\":206,\"kind\":1024,\"name\":\"post\",\"url\":\"interfaces/C11Opts.html#post\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"C11Opts\"},{\"id\":207,\"kind\":64,\"name\":\"C11\",\"url\":\"modules.html#C11\",\"classes\":\"tsd-kind-function\"},{\"id\":208,\"kind\":256,\"name\":\"TSOpts\",\"url\":\"interfaces/TSOpts.html\",\"classes\":\"tsd-kind-interface\"},{\"id\":209,\"kind\":1024,\"name\":\"indent\",\"url\":\"interfaces/TSOpts.html#indent\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"TSOpts\"},{\"id\":210,\"kind\":1024,\"name\":\"pre\",\"url\":\"interfaces/TSOpts.html#pre\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"TSOpts\"},{\"id\":211,\"kind\":1024,\"name\":\"post\",\"url\":\"interfaces/TSOpts.html#post\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"TSOpts\"},{\"id\":212,\"kind\":64,\"name\":\"TYPESCRIPT\",\"url\":\"modules.html#TYPESCRIPT\",\"classes\":\"tsd-kind-function\"},{\"id\":213,\"kind\":64,\"name\":\"withIndentation\",\"url\":\"modules.html#withIndentation\",\"classes\":\"tsd-kind-function\"},{\"id\":214,\"kind\":64,\"name\":\"isNumeric\",\"url\":\"modules.html#isNumeric\",\"classes\":\"tsd-kind-function\"},{\"id\":215,\"kind\":64,\"name\":\"isBigNumeric\",\"url\":\"modules.html#isBigNumeric\",\"classes\":\"tsd-kind-function\"},{\"id\":216,\"kind\":64,\"name\":\"isWasmPrim\",\"url\":\"modules.html#isWasmPrim\",\"classes\":\"tsd-kind-function\"},{\"id\":217,\"kind\":64,\"name\":\"isWasmString\",\"url\":\"modules.html#isWasmString\",\"classes\":\"tsd-kind-function\"},{\"id\":218,\"kind\":64,\"name\":\"isPadding\",\"url\":\"modules.html#isPadding\",\"classes\":\"tsd-kind-function\"},{\"id\":219,\"kind\":64,\"name\":\"prefixLines\",\"url\":\"modules.html#prefixLines\",\"classes\":\"tsd-kind-function\"},{\"id\":220,\"kind\":64,\"name\":\"isStringSlice\",\"url\":\"modules.html#isStringSlice\",\"classes\":\"tsd-kind-function\"},{\"id\":221,\"kind\":256,\"name\":\"ZigOpts\",\"url\":\"interfaces/ZigOpts.html\",\"classes\":\"tsd-kind-interface\"},{\"id\":222,\"kind\":1024,\"name\":\"pre\",\"url\":\"interfaces/ZigOpts.html#pre\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ZigOpts\"},{\"id\":223,\"kind\":1024,\"name\":\"post\",\"url\":\"interfaces/ZigOpts.html#post\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ZigOpts\"},{\"id\":224,\"kind\":64,\"name\":\"ZIG\",\"url\":\"modules.html#ZIG\",\"classes\":\"tsd-kind-function\"},{\"id\":225,\"kind\":256,\"name\":\"ObjectIndexOpts\",\"url\":\"interfaces/ObjectIndexOpts.html\",\"classes\":\"tsd-kind-interface\"},{\"id\":226,\"kind\":1024,\"name\":\"name\",\"url\":\"interfaces/ObjectIndexOpts.html#name\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ObjectIndexOpts\"},{\"id\":227,\"kind\":1024,\"name\":\"logger\",\"url\":\"interfaces/ObjectIndexOpts.html#logger\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ObjectIndexOpts\"},{\"id\":228,\"kind\":1024,\"name\":\"bits\",\"url\":\"interfaces/ObjectIndexOpts.html#bits\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ObjectIndexOpts\"},{\"id\":229,\"kind\":128,\"name\":\"ObjectIndex\",\"url\":\"classes/ObjectIndex.html\",\"classes\":\"tsd-kind-class tsd-has-type-parameter\"},{\"id\":230,\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ObjectIndex.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter\",\"parent\":\"ObjectIndex\"},{\"id\":231,\"kind\":1024,\"name\":\"name\",\"url\":\"classes/ObjectIndex.html#name\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ObjectIndex\"},{\"id\":232,\"kind\":1024,\"name\":\"logger\",\"url\":\"classes/ObjectIndex.html#logger\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ObjectIndex\"},{\"id\":233,\"kind\":1024,\"name\":\"idgen\",\"url\":\"classes/ObjectIndex.html#idgen\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected\",\"parent\":\"ObjectIndex\"},{\"id\":234,\"kind\":1024,\"name\":\"items\",\"url\":\"classes/ObjectIndex.html#items\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected\",\"parent\":\"ObjectIndex\"},{\"id\":235,\"kind\":2048,\"name\":\"keys\",\"url\":\"classes/ObjectIndex.html#keys\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ObjectIndex\"},{\"id\":236,\"kind\":2048,\"name\":\"values\",\"url\":\"classes/ObjectIndex.html#values\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ObjectIndex\"},{\"id\":237,\"kind\":2048,\"name\":\"add\",\"url\":\"classes/ObjectIndex.html#add\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ObjectIndex\"},{\"id\":238,\"kind\":2048,\"name\":\"has\",\"url\":\"classes/ObjectIndex.html#has\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ObjectIndex\"},{\"id\":239,\"kind\":2048,\"name\":\"delete\",\"url\":\"classes/ObjectIndex.html#delete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ObjectIndex\"},{\"id\":240,\"kind\":2048,\"name\":\"get\",\"url\":\"classes/ObjectIndex.html#get\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ObjectIndex\"},{\"id\":241,\"kind\":2048,\"name\":\"find\",\"url\":\"classes/ObjectIndex.html#find\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ObjectIndex\"},{\"id\":242,\"kind\":128,\"name\":\"Pointer\",\"url\":\"classes/Pointer.html\",\"classes\":\"tsd-kind-class tsd-has-type-parameter\"},{\"id\":243,\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Pointer.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter\",\"parent\":\"Pointer\"},{\"id\":244,\"kind\":1024,\"name\":\"mem\",\"url\":\"classes/Pointer.html#mem\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Pointer\"},{\"id\":245,\"kind\":1024,\"name\":\"base\",\"url\":\"classes/Pointer.html#base\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Pointer\"},{\"id\":246,\"kind\":1024,\"name\":\"fn\",\"url\":\"classes/Pointer.html#fn\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Pointer\"},{\"id\":247,\"kind\":262144,\"name\":\"addr\",\"url\":\"classes/Pointer.html#addr\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Pointer\"},{\"id\":248,\"kind\":2048,\"name\":\"deref\",\"url\":\"classes/Pointer.html#deref\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Pointer\"},{\"id\":249,\"kind\":128,\"name\":\"WasmStringSlice\",\"url\":\"classes/WasmStringSlice.html\",\"classes\":\"tsd-kind-class\"},{\"id\":250,\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/WasmStringSlice.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"WasmStringSlice\"},{\"id\":251,\"kind\":1024,\"name\":\"max\",\"url\":\"classes/WasmStringSlice.html#max\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmStringSlice\"},{\"id\":252,\"kind\":1024,\"name\":\"mem\",\"url\":\"classes/WasmStringSlice.html#mem\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmStringSlice\"},{\"id\":253,\"kind\":1024,\"name\":\"base\",\"url\":\"classes/WasmStringSlice.html#base\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmStringSlice\"},{\"id\":254,\"kind\":1024,\"name\":\"isConst\",\"url\":\"classes/WasmStringSlice.html#isConst\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmStringSlice\"},{\"id\":255,\"kind\":262144,\"name\":\"addr\",\"url\":\"classes/WasmStringSlice.html#addr\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"WasmStringSlice\"},{\"id\":256,\"kind\":262144,\"name\":\"length\",\"url\":\"classes/WasmStringSlice.html#length\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"WasmStringSlice\"},{\"id\":257,\"kind\":2048,\"name\":\"deref\",\"url\":\"classes/WasmStringSlice.html#deref\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmStringSlice\"},{\"id\":258,\"kind\":2048,\"name\":\"set\",\"url\":\"classes/WasmStringSlice.html#set\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmStringSlice\"},{\"id\":259,\"kind\":2048,\"name\":\"toJSON\",\"url\":\"classes/WasmStringSlice.html#toJSON\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmStringSlice\"},{\"id\":260,\"kind\":2048,\"name\":\"toString\",\"url\":\"classes/WasmStringSlice.html#toString\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmStringSlice\"},{\"id\":261,\"kind\":2048,\"name\":\"valueOf\",\"url\":\"classes/WasmStringSlice.html#valueOf\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmStringSlice\"},{\"id\":262,\"kind\":128,\"name\":\"WasmStringPtr\",\"url\":\"classes/WasmStringPtr.html\",\"classes\":\"tsd-kind-class\"},{\"id\":263,\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/WasmStringPtr.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"WasmStringPtr\"},{\"id\":264,\"kind\":1024,\"name\":\"mem\",\"url\":\"classes/WasmStringPtr.html#mem\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmStringPtr\"},{\"id\":265,\"kind\":1024,\"name\":\"base\",\"url\":\"classes/WasmStringPtr.html#base\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmStringPtr\"},{\"id\":266,\"kind\":1024,\"name\":\"isConst\",\"url\":\"classes/WasmStringPtr.html#isConst\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WasmStringPtr\"},{\"id\":267,\"kind\":262144,\"name\":\"addr\",\"url\":\"classes/WasmStringPtr.html#addr\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"WasmStringPtr\"},{\"id\":268,\"kind\":262144,\"name\":\"length\",\"url\":\"classes/WasmStringPtr.html#length\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"WasmStringPtr\"},{\"id\":269,\"kind\":2048,\"name\":\"deref\",\"url\":\"classes/WasmStringPtr.html#deref\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmStringPtr\"},{\"id\":270,\"kind\":2048,\"name\":\"set\",\"url\":\"classes/WasmStringPtr.html#set\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmStringPtr\"},{\"id\":271,\"kind\":2048,\"name\":\"toJSON\",\"url\":\"classes/WasmStringPtr.html#toJSON\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmStringPtr\"},{\"id\":272,\"kind\":2048,\"name\":\"toString\",\"url\":\"classes/WasmStringPtr.html#toString\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmStringPtr\"},{\"id\":273,\"kind\":2048,\"name\":\"valueOf\",\"url\":\"classes/WasmStringPtr.html#valueOf\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"WasmStringPtr\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"parent\"],\"fieldVectors\":[[\"name/0\",[0,52.113]],[\"parent/0\",[]],[\"name/1\",[1,52.113]],[\"parent/1\",[]],[\"name/2\",[2,52.113]],[\"parent/2\",[]],[\"name/3\",[3,43.64]],[\"parent/3\",[]],[\"name/4\",[4,47.005]],[\"parent/4\",[3,3.999]],[\"name/5\",[5,47.005]],[\"parent/5\",[3,3.999]],[\"name/6\",[6,41.127]],[\"parent/6\",[]],[\"name/7\",[7,52.113]],[\"parent/7\",[6,3.769]],[\"name/8\",[8,52.113]],[\"parent/8\",[6,3.769]],[\"name/9\",[9,52.113]],[\"parent/9\",[6,3.769]],[\"name/10\",[10,30.141]],[\"parent/10\",[]],[\"name/11\",[11,47.005]],[\"parent/11\",[10,2.762]],[\"name/12\",[12,47.005]],[\"parent/12\",[10,2.762]],[\"name/13\",[13,47.005]],[\"parent/13\",[10,2.762]],[\"name/14\",[14,47.005]],[\"parent/14\",[10,2.762]],[\"name/15\",[15,47.005]],[\"parent/15\",[10,2.762]],[\"name/16\",[16,47.005]],[\"parent/16\",[10,2.762]],[\"name/17\",[17,47.005]],[\"parent/17\",[10,2.762]],[\"name/18\",[18,47.005]],[\"parent/18\",[10,2.762]],[\"name/19\",[19,47.005]],[\"parent/19\",[10,2.762]],[\"name/20\",[20,47.005]],[\"parent/20\",[10,2.762]],[\"name/21\",[21,47.005]],[\"parent/21\",[10,2.762]],[\"name/22\",[22,47.005]],[\"parent/22\",[10,2.762]],[\"name/23\",[23,21.668]],[\"parent/23\",[]],[\"name/24\",[24,52.113]],[\"parent/24\",[23,1.985]],[\"name/25\",[25,52.113]],[\"parent/25\",[23,1.985]],[\"name/26\",[26,52.113]],[\"parent/26\",[23,1.985]],[\"name/27\",[27,52.113]],[\"parent/27\",[23,1.985]],[\"name/28\",[28,52.113]],[\"parent/28\",[23,1.985]],[\"name/29\",[29,52.113]],[\"parent/29\",[23,1.985]],[\"name/30\",[30,52.113]],[\"parent/30\",[23,1.985]],[\"name/31\",[31,52.113]],[\"parent/31\",[23,1.985]],[\"name/32\",[32,52.113]],[\"parent/32\",[23,1.985]],[\"name/33\",[33,52.113]],[\"parent/33\",[23,1.985]],[\"name/34\",[34,52.113]],[\"parent/34\",[23,1.985]],[\"name/35\",[35,52.113]],[\"parent/35\",[23,1.985]],[\"name/36\",[36,52.113]],[\"parent/36\",[23,1.985]],[\"name/37\",[37,52.113]],[\"parent/37\",[23,1.985]],[\"name/38\",[38,52.113]],[\"parent/38\",[23,1.985]],[\"name/39\",[39,52.113]],[\"parent/39\",[23,1.985]],[\"name/40\",[40,52.113]],[\"parent/40\",[23,1.985]],[\"name/41\",[41,52.113]],[\"parent/41\",[23,1.985]],[\"name/42\",[42,52.113]],[\"parent/42\",[23,1.985]],[\"name/43\",[43,52.113]],[\"parent/43\",[23,1.985]],[\"name/44\",[44,52.113]],[\"parent/44\",[23,1.985]],[\"name/45\",[45,52.113]],[\"parent/45\",[23,1.985]],[\"name/46\",[46,52.113]],[\"parent/46\",[23,1.985]],[\"name/47\",[47,52.113]],[\"parent/47\",[23,1.985]],[\"name/48\",[48,52.113]],[\"parent/48\",[23,1.985]],[\"name/49\",[49,52.113]],[\"parent/49\",[23,1.985]],[\"name/50\",[50,47.005]],[\"parent/50\",[23,1.985]],[\"name/51\",[51,52.113]],[\"parent/51\",[23,1.985]],[\"name/52\",[52,52.113]],[\"parent/52\",[23,1.985]],[\"name/53\",[53,52.113]],[\"parent/53\",[23,1.985]],[\"name/54\",[54,43.64]],[\"parent/54\",[]],[\"name/55\",[55,52.113]],[\"parent/55\",[54,3.999]],[\"name/56\",[56,52.113]],[\"parent/56\",[54,3.999]],[\"name/57\",[57,41.127]],[\"parent/57\",[]],[\"name/58\",[58,52.113]],[\"parent/58\",[57,3.769]],[\"name/59\",[59,52.113]],[\"parent/59\",[57,3.769]],[\"name/60\",[60,52.113]],[\"parent/60\",[57,3.769]],[\"name/61\",[61,52.113]],[\"parent/61\",[]],[\"name/62\",[62,52.113]],[\"parent/62\",[]],[\"name/63\",[63,52.113]],[\"parent/63\",[]],[\"name/64\",[64,52.113]],[\"parent/64\",[]],[\"name/65\",[65,52.113]],[\"parent/65\",[]],[\"name/66\",[66,52.113]],[\"parent/66\",[]],[\"name/67\",[67,52.113]],[\"parent/67\",[]],[\"name/68\",[68,52.113]],[\"parent/68\",[]],[\"name/69\",[69,41.127]],[\"parent/69\",[]],[\"name/70\",[70,36.019]],[\"parent/70\",[69,3.769]],[\"name/71\",[71,37.45]],[\"parent/71\",[69,3.769]],[\"name/72\",[72,41.127]],[\"parent/72\",[69,3.769]],[\"name/73\",[73,34.767]],[\"parent/73\",[]],[\"name/74\",[72,41.127]],[\"parent/74\",[73,3.186]],[\"name/75\",[74,52.113]],[\"parent/75\",[73,3.186]],[\"name/76\",[75,52.113]],[\"parent/76\",[73,3.186]],[\"name/77\",[76,43.64]],[\"parent/77\",[73,3.186]],[\"name/78\",[70,36.019]],[\"parent/78\",[73,3.186]],[\"name/79\",[71,37.45]],[\"parent/79\",[73,3.186]],[\"name/80\",[77,32.654]],[\"parent/80\",[]],[\"name/81\",[70,36.019]],[\"parent/81\",[77,2.992]],[\"name/82\",[71,37.45]],[\"parent/82\",[77,2.992]],[\"name/83\",[76,43.64]],[\"parent/83\",[77,2.992]],[\"name/84\",[72,41.127]],[\"parent/84\",[77,2.992]],[\"name/85\",[78,52.113]],[\"parent/85\",[77,2.992]],[\"name/86\",[79,52.113]],[\"parent/86\",[77,2.992]],[\"name/87\",[80,52.113]],[\"parent/87\",[77,2.992]],[\"name/88\",[81,52.113]],[\"parent/88\",[77,2.992]],[\"name/89\",[82,52.113]],[\"parent/89\",[77,2.992]],[\"name/90\",[83,36.019]],[\"parent/90\",[]],[\"name/91\",[72,41.127]],[\"parent/91\",[83,3.3]],[\"name/92\",[76,43.64]],[\"parent/92\",[83,3.3]],[\"name/93\",[84,47.005]],[\"parent/93\",[83,3.3]],[\"name/94\",[70,36.019]],[\"parent/94\",[83,3.3]],[\"name/95\",[71,37.45]],[\"parent/95\",[83,3.3]],[\"name/96\",[85,41.127]],[\"parent/96\",[]],[\"name/97\",[70,36.019]],[\"parent/97\",[85,3.769]],[\"name/98\",[86,52.113]],[\"parent/98\",[85,3.769]],[\"name/99\",[71,37.45]],[\"parent/99\",[85,3.769]],[\"name/100\",[87,43.64]],[\"parent/100\",[]],[\"name/101\",[88,37.45]],[\"parent/101\",[87,3.999]],[\"name/102\",[89,37.45]],[\"parent/102\",[87,3.999]],[\"name/103\",[90,36.019]],[\"parent/103\",[]],[\"name/104\",[91,52.113]],[\"parent/104\",[90,3.3]],[\"name/105\",[92,52.113]],[\"parent/105\",[90,3.3]],[\"name/106\",[93,52.113]],[\"parent/106\",[90,3.3]],[\"name/107\",[50,47.005]],[\"parent/107\",[90,3.3]],[\"name/108\",[88,37.45]],[\"parent/108\",[90,3.3]],[\"name/109\",[89,37.45]],[\"parent/109\",[90,3.3]],[\"name/110\",[94,37.45]],[\"parent/110\",[]],[\"name/111\",[88,37.45]],[\"parent/111\",[94,3.432]],[\"name/112\",[89,37.45]],[\"parent/112\",[94,3.432]],[\"name/113\",[71,37.45]],[\"parent/113\",[94,3.432]],[\"name/114\",[83,36.019]],[\"parent/114\",[94,3.432]],[\"name/115\",[73,34.767]],[\"parent/115\",[94,3.432]],[\"name/116\",[95,52.113]],[\"parent/116\",[]],[\"name/117\",[96,52.113]],[\"parent/117\",[]],[\"name/118\",[97,47.005]],[\"parent/118\",[]],[\"name/119\",[98,41.127]],[\"parent/119\",[97,4.307]],[\"name/120\",[99,47.005]],[\"parent/120\",[100,3.769]],[\"name/121\",[101,47.005]],[\"parent/121\",[100,3.769]],[\"name/122\",[98,41.127]],[\"parent/122\",[100,3.769]],[\"name/123\",[102,47.005]],[\"parent/123\",[100,3.769]],[\"name/124\",[103,47.005]],[\"parent/124\",[]],[\"name/125\",[98,41.127]],[\"parent/125\",[103,4.307]],[\"name/126\",[99,47.005]],[\"parent/126\",[104,3.769]],[\"name/127\",[101,47.005]],[\"parent/127\",[104,3.769]],[\"name/128\",[98,41.127]],[\"parent/128\",[104,3.769]],[\"name/129\",[102,47.005]],[\"parent/129\",[104,3.769]],[\"name/130\",[105,13.332]],[\"parent/130\",[]],[\"name/131\",[106,39.12]],[\"parent/131\",[105,1.222]],[\"name/132\",[11,47.005]],[\"parent/132\",[105,1.222]],[\"name/133\",[12,47.005]],[\"parent/133\",[105,1.222]],[\"name/134\",[13,47.005]],[\"parent/134\",[105,1.222]],[\"name/135\",[14,47.005]],[\"parent/135\",[105,1.222]],[\"name/136\",[15,47.005]],[\"parent/136\",[105,1.222]],[\"name/137\",[16,47.005]],[\"parent/137\",[105,1.222]],[\"name/138\",[17,47.005]],[\"parent/138\",[105,1.222]],[\"name/139\",[18,47.005]],[\"parent/139\",[105,1.222]],[\"name/140\",[19,47.005]],[\"parent/140\",[105,1.222]],[\"name/141\",[20,47.005]],[\"parent/141\",[105,1.222]],[\"name/142\",[107,52.113]],[\"parent/142\",[105,1.222]],[\"name/143\",[108,52.113]],[\"parent/143\",[105,1.222]],[\"name/144\",[109,52.113]],[\"parent/144\",[105,1.222]],[\"name/145\",[110,52.113]],[\"parent/145\",[105,1.222]],[\"name/146\",[111,52.113]],[\"parent/146\",[105,1.222]],[\"name/147\",[112,52.113]],[\"parent/147\",[105,1.222]],[\"name/148\",[113,43.64]],[\"parent/148\",[105,1.222]],[\"name/149\",[114,52.113]],[\"parent/149\",[105,1.222]],[\"name/150\",[4,47.005]],[\"parent/150\",[105,1.222]],[\"name/151\",[115,52.113]],[\"parent/151\",[105,1.222]],[\"name/152\",[5,47.005]],[\"parent/152\",[105,1.222]],[\"name/153\",[116,52.113]],[\"parent/153\",[105,1.222]],[\"name/154\",[117,52.113]],[\"parent/154\",[105,1.222]],[\"name/155\",[118,52.113]],[\"parent/155\",[105,1.222]],[\"name/156\",[119,52.113]],[\"parent/156\",[105,1.222]],[\"name/157\",[120,52.113]],[\"parent/157\",[105,1.222]],[\"name/158\",[121,52.113]],[\"parent/158\",[105,1.222]],[\"name/159\",[122,52.113]],[\"parent/159\",[105,1.222]],[\"name/160\",[123,52.113]],[\"parent/160\",[105,1.222]],[\"name/161\",[124,52.113]],[\"parent/161\",[105,1.222]],[\"name/162\",[125,52.113]],[\"parent/162\",[105,1.222]],[\"name/163\",[126,52.113]],[\"parent/163\",[105,1.222]],[\"name/164\",[127,52.113]],[\"parent/164\",[105,1.222]],[\"name/165\",[128,52.113]],[\"parent/165\",[105,1.222]],[\"name/166\",[129,52.113]],[\"parent/166\",[105,1.222]],[\"name/167\",[130,52.113]],[\"parent/167\",[105,1.222]],[\"name/168\",[131,52.113]],[\"parent/168\",[105,1.222]],[\"name/169\",[132,52.113]],[\"parent/169\",[105,1.222]],[\"name/170\",[133,52.113]],[\"parent/170\",[105,1.222]],[\"name/171\",[134,52.113]],[\"parent/171\",[105,1.222]],[\"name/172\",[135,52.113]],[\"parent/172\",[105,1.222]],[\"name/173\",[136,52.113]],[\"parent/173\",[105,1.222]],[\"name/174\",[137,52.113]],[\"parent/174\",[105,1.222]],[\"name/175\",[138,52.113]],[\"parent/175\",[105,1.222]],[\"name/176\",[139,52.113]],[\"parent/176\",[105,1.222]],[\"name/177\",[140,52.113]],[\"parent/177\",[105,1.222]],[\"name/178\",[141,52.113]],[\"parent/178\",[105,1.222]],[\"name/179\",[142,52.113]],[\"parent/179\",[105,1.222]],[\"name/180\",[143,52.113]],[\"parent/180\",[105,1.222]],[\"name/181\",[144,52.113]],[\"parent/181\",[105,1.222]],[\"name/182\",[145,52.113]],[\"parent/182\",[105,1.222]],[\"name/183\",[146,52.113]],[\"parent/183\",[105,1.222]],[\"name/184\",[147,52.113]],[\"parent/184\",[105,1.222]],[\"name/185\",[148,52.113]],[\"parent/185\",[105,1.222]],[\"name/186\",[149,52.113]],[\"parent/186\",[105,1.222]],[\"name/187\",[150,52.113]],[\"parent/187\",[105,1.222]],[\"name/188\",[151,52.113]],[\"parent/188\",[105,1.222]],[\"name/189\",[152,52.113]],[\"parent/189\",[105,1.222]],[\"name/190\",[153,52.113]],[\"parent/190\",[105,1.222]],[\"name/191\",[154,52.113]],[\"parent/191\",[105,1.222]],[\"name/192\",[155,52.113]],[\"parent/192\",[105,1.222]],[\"name/193\",[156,52.113]],[\"parent/193\",[105,1.222]],[\"name/194\",[157,52.113]],[\"parent/194\",[105,1.222]],[\"name/195\",[158,52.113]],[\"parent/195\",[105,1.222]],[\"name/196\",[21,47.005]],[\"parent/196\",[105,1.222]],[\"name/197\",[22,47.005]],[\"parent/197\",[105,1.222]],[\"name/198\",[159,52.113]],[\"parent/198\",[105,1.222]],[\"name/199\",[160,52.113]],[\"parent/199\",[105,1.222]],[\"name/200\",[161,52.113]],[\"parent/200\",[105,1.222]],[\"name/201\",[162,52.113]],[\"parent/201\",[105,1.222]],[\"name/202\",[163,52.113]],[\"parent/202\",[]],[\"name/203\",[164,41.127]],[\"parent/203\",[]],[\"name/204\",[165,52.113]],[\"parent/204\",[164,3.769]],[\"name/205\",[88,37.45]],[\"parent/205\",[164,3.769]],[\"name/206\",[89,37.45]],[\"parent/206\",[164,3.769]],[\"name/207\",[166,52.113]],[\"parent/207\",[]],[\"name/208\",[167,41.127]],[\"parent/208\",[]],[\"name/209\",[168,52.113]],[\"parent/209\",[167,3.769]],[\"name/210\",[88,37.45]],[\"parent/210\",[167,3.769]],[\"name/211\",[89,37.45]],[\"parent/211\",[167,3.769]],[\"name/212\",[169,52.113]],[\"parent/212\",[]],[\"name/213\",[170,52.113]],[\"parent/213\",[]],[\"name/214\",[171,52.113]],[\"parent/214\",[]],[\"name/215\",[172,52.113]],[\"parent/215\",[]],[\"name/216\",[173,52.113]],[\"parent/216\",[]],[\"name/217\",[174,52.113]],[\"parent/217\",[]],[\"name/218\",[175,52.113]],[\"parent/218\",[]],[\"name/219\",[176,52.113]],[\"parent/219\",[]],[\"name/220\",[177,52.113]],[\"parent/220\",[]],[\"name/221\",[178,43.64]],[\"parent/221\",[]],[\"name/222\",[88,37.45]],[\"parent/222\",[178,3.999]],[\"name/223\",[89,37.45]],[\"parent/223\",[178,3.999]],[\"name/224\",[179,52.113]],[\"parent/224\",[]],[\"name/225\",[180,41.127]],[\"parent/225\",[]],[\"name/226\",[70,36.019]],[\"parent/226\",[180,3.769]],[\"name/227\",[113,43.64]],[\"parent/227\",[180,3.769]],[\"name/228\",[181,52.113]],[\"parent/228\",[180,3.769]],[\"name/229\",[182,30.141]],[\"parent/229\",[]],[\"name/230\",[106,39.12]],[\"parent/230\",[182,2.762]],[\"name/231\",[70,36.019]],[\"parent/231\",[182,2.762]],[\"name/232\",[113,43.64]],[\"parent/232\",[182,2.762]],[\"name/233\",[183,52.113]],[\"parent/233\",[182,2.762]],[\"name/234\",[184,52.113]],[\"parent/234\",[182,2.762]],[\"name/235\",[185,52.113]],[\"parent/235\",[182,2.762]],[\"name/236\",[84,47.005]],[\"parent/236\",[182,2.762]],[\"name/237\",[186,52.113]],[\"parent/237\",[182,2.762]],[\"name/238\",[187,52.113]],[\"parent/238\",[182,2.762]],[\"name/239\",[188,52.113]],[\"parent/239\",[182,2.762]],[\"name/240\",[189,52.113]],[\"parent/240\",[182,2.762]],[\"name/241\",[190,52.113]],[\"parent/241\",[182,2.762]],[\"name/242\",[191,36.019]],[\"parent/242\",[]],[\"name/243\",[106,39.12]],[\"parent/243\",[191,3.3]],[\"name/244\",[192,43.64]],[\"parent/244\",[191,3.3]],[\"name/245\",[193,43.64]],[\"parent/245\",[191,3.3]],[\"name/246\",[194,52.113]],[\"parent/246\",[191,3.3]],[\"name/247\",[195,43.64]],[\"parent/247\",[191,3.3]],[\"name/248\",[196,43.64]],[\"parent/248\",[191,3.3]],[\"name/249\",[197,30.141]],[\"parent/249\",[]],[\"name/250\",[106,39.12]],[\"parent/250\",[197,2.762]],[\"name/251\",[198,52.113]],[\"parent/251\",[197,2.762]],[\"name/252\",[192,43.64]],[\"parent/252\",[197,2.762]],[\"name/253\",[193,43.64]],[\"parent/253\",[197,2.762]],[\"name/254\",[199,47.005]],[\"parent/254\",[197,2.762]],[\"name/255\",[195,43.64]],[\"parent/255\",[197,2.762]],[\"name/256\",[200,47.005]],[\"parent/256\",[197,2.762]],[\"name/257\",[196,43.64]],[\"parent/257\",[197,2.762]],[\"name/258\",[201,47.005]],[\"parent/258\",[197,2.762]],[\"name/259\",[202,47.005]],[\"parent/259\",[197,2.762]],[\"name/260\",[203,47.005]],[\"parent/260\",[197,2.762]],[\"name/261\",[204,47.005]],[\"parent/261\",[197,2.762]],[\"name/262\",[205,30.91]],[\"parent/262\",[]],[\"name/263\",[106,39.12]],[\"parent/263\",[205,2.832]],[\"name/264\",[192,43.64]],[\"parent/264\",[205,2.832]],[\"name/265\",[193,43.64]],[\"parent/265\",[205,2.832]],[\"name/266\",[199,47.005]],[\"parent/266\",[205,2.832]],[\"name/267\",[195,43.64]],[\"parent/267\",[205,2.832]],[\"name/268\",[200,47.005]],[\"parent/268\",[205,2.832]],[\"name/269\",[196,43.64]],[\"parent/269\",[205,2.832]],[\"name/270\",[201,47.005]],[\"parent/270\",[205,2.832]],[\"name/271\",[202,47.005]],[\"parent/271\",[205,2.832]],[\"name/272\",[203,47.005]],[\"parent/272\",[205,2.832]],[\"name/273\",[204,47.005]],[\"parent/273\",[205,2.832]]],\"invertedIndex\":[[\"__base\",{\"_index\":55,\"name\":{\"55\":{}},\"parent\":{}}],[\"__bytes\",{\"_index\":56,\"name\":{\"56\":{}},\"parent\":{}}],[\"__type\",{\"_index\":98,\"name\":{\"119\":{},\"122\":{},\"125\":{},\"128\":{}},\"parent\":{}}],[\"_panic\",{\"_index\":51,\"name\":{\"51\":{}},\"parent\":{}}],[\"_printf32array\",{\"_index\":46,\"name\":{\"46\":{}},\"parent\":{}}],[\"_printf64array\",{\"_index\":47,\"name\":{\"47\":{}},\"parent\":{}}],[\"_printi16array\",{\"_index\":40,\"name\":{\"40\":{}},\"parent\":{}}],[\"_printi32array\",{\"_index\":42,\"name\":{\"42\":{}},\"parent\":{}}],[\"_printi64array\",{\"_index\":44,\"name\":{\"44\":{}},\"parent\":{}}],[\"_printi8array\",{\"_index\":38,\"name\":{\"38\":{}},\"parent\":{}}],[\"_printstr\",{\"_index\":49,\"name\":{\"49\":{}},\"parent\":{}}],[\"_printstr0\",{\"_index\":48,\"name\":{\"48\":{}},\"parent\":{}}],[\"_printu16array\",{\"_index\":41,\"name\":{\"41\":{}},\"parent\":{}}],[\"_printu32array\",{\"_index\":43,\"name\":{\"43\":{}},\"parent\":{}}],[\"_printu64array\",{\"_index\":45,\"name\":{\"45\":{}},\"parent\":{}}],[\"_printu8array\",{\"_index\":39,\"name\":{\"39\":{}},\"parent\":{}}],[\"_wasm_allocate\",{\"_index\":8,\"name\":{\"8\":{}},\"parent\":{}}],[\"_wasm_free\",{\"_index\":9,\"name\":{\"9\":{}},\"parent\":{}}],[\"add\",{\"_index\":186,\"name\":{\"237\":{}},\"parent\":{}}],[\"addlistener\",{\"_index\":160,\"name\":{\"199\":{}},\"parent\":{}}],[\"addr\",{\"_index\":195,\"name\":{\"247\":{},\"255\":{},\"267\":{}},\"parent\":{}}],[\"align\",{\"_index\":58,\"name\":{\"58\":{}},\"parent\":{}}],[\"allocate\",{\"_index\":117,\"name\":{\"154\":{}},\"parent\":{}}],[\"api\",{\"_index\":111,\"name\":{\"146\":{}},\"parent\":{}}],[\"auto\",{\"_index\":75,\"name\":{\"76\":{}},\"parent\":{}}],[\"base\",{\"_index\":193,\"name\":{\"245\":{},\"253\":{},\"265\":{}},\"parent\":{}}],[\"bigintarray\",{\"_index\":2,\"name\":{\"2\":{}},\"parent\":{}}],[\"bits\",{\"_index\":181,\"name\":{\"228\":{}},\"parent\":{}}],[\"c11\",{\"_index\":166,\"name\":{\"207\":{}},\"parent\":{}}],[\"c11opts\",{\"_index\":164,\"name\":{\"203\":{}},\"parent\":{\"204\":{},\"205\":{},\"206\":{}}}],[\"capturestacktrace\",{\"_index\":99,\"name\":{\"120\":{},\"126\":{}},\"parent\":{}}],[\"codegenopts\",{\"_index\":90,\"name\":{\"103\":{}},\"parent\":{\"104\":{},\"105\":{},\"106\":{},\"107\":{},\"108\":{},\"109\":{}}}],[\"codegenoptsbase\",{\"_index\":87,\"name\":{\"100\":{}},\"parent\":{\"101\":{},\"102\":{}}}],[\"const\",{\"_index\":78,\"name\":{\"85\":{}},\"parent\":{}}],[\"constructor\",{\"_index\":106,\"name\":{\"131\":{},\"230\":{},\"243\":{},\"250\":{},\"263\":{}},\"parent\":{}}],[\"coreapi\",{\"_index\":23,\"name\":{\"23\":{}},\"parent\":{\"24\":{},\"25\":{},\"26\":{},\"27\":{},\"28\":{},\"29\":{},\"30\":{},\"31\":{},\"32\":{},\"33\":{},\"34\":{},\"35\":{},\"36\":{},\"37\":{},\"38\":{},\"39\":{},\"40\":{},\"41\":{},\"42\":{},\"43\":{},\"44\":{},\"45\":{},\"46\":{},\"47\":{},\"48\":{},\"49\":{},\"50\":{},\"51\":{},\"52\":{},\"53\":{}}}],[\"debug\",{\"_index\":50,\"name\":{\"50\":{},\"107\":{}},\"parent\":{}}],[\"default\",{\"_index\":81,\"name\":{\"88\":{}},\"parent\":{}}],[\"delete\",{\"_index\":188,\"name\":{\"239\":{}},\"parent\":{}}],[\"deref\",{\"_index\":196,\"name\":{\"248\":{},\"257\":{},\"269\":{}},\"parent\":{}}],[\"doc\",{\"_index\":71,\"name\":{\"71\":{},\"79\":{},\"82\":{},\"95\":{},\"99\":{},\"113\":{}},\"parent\":{}}],[\"ensurememory\",{\"_index\":115,\"name\":{\"151\":{}},\"parent\":{}}],[\"enum\",{\"_index\":83,\"name\":{\"90\":{},\"114\":{}},\"parent\":{\"91\":{},\"92\":{},\"93\":{},\"94\":{},\"95\":{}}}],[\"enumvalue\",{\"_index\":85,\"name\":{\"96\":{}},\"parent\":{\"97\":{},\"98\":{},\"99\":{}}}],[\"epoch\",{\"_index\":53,\"name\":{\"53\":{}},\"parent\":{}}],[\"event_memory_changed\",{\"_index\":1,\"name\":{\"1\":{}},\"parent\":{}}],[\"exports\",{\"_index\":110,\"name\":{\"145\":{}},\"parent\":{}}],[\"f32\",{\"_index\":19,\"name\":{\"19\":{},\"140\":{}},\"parent\":{}}],[\"f64\",{\"_index\":20,\"name\":{\"20\":{},\"141\":{}},\"parent\":{}}],[\"fields\",{\"_index\":74,\"name\":{\"75\":{}},\"parent\":{}}],[\"find\",{\"_index\":190,\"name\":{\"241\":{}},\"parent\":{}}],[\"fn\",{\"_index\":194,\"name\":{\"246\":{}},\"parent\":{}}],[\"free\",{\"_index\":118,\"name\":{\"155\":{}},\"parent\":{}}],[\"generatetypes\",{\"_index\":163,\"name\":{\"202\":{}},\"parent\":{}}],[\"get\",{\"_index\":189,\"name\":{\"240\":{}},\"parent\":{}}],[\"getelementbyid\",{\"_index\":159,\"name\":{\"198\":{}},\"parent\":{}}],[\"getf32\",{\"_index\":127,\"name\":{\"164\":{}},\"parent\":{}}],[\"getf32array\",{\"_index\":147,\"name\":{\"184\":{}},\"parent\":{}}],[\"getf64\",{\"_index\":128,\"name\":{\"165\":{}},\"parent\":{}}],[\"getf64array\",{\"_index\":148,\"name\":{\"185\":{}},\"parent\":{}}],[\"geti16\",{\"_index\":121,\"name\":{\"158\":{}},\"parent\":{}}],[\"geti16array\",{\"_index\":141,\"name\":{\"178\":{}},\"parent\":{}}],[\"geti32\",{\"_index\":123,\"name\":{\"160\":{}},\"parent\":{}}],[\"geti32array\",{\"_index\":143,\"name\":{\"180\":{}},\"parent\":{}}],[\"geti64\",{\"_index\":125,\"name\":{\"162\":{}},\"parent\":{}}],[\"geti64array\",{\"_index\":145,\"name\":{\"182\":{}},\"parent\":{}}],[\"geti8\",{\"_index\":119,\"name\":{\"156\":{}},\"parent\":{}}],[\"geti8array\",{\"_index\":139,\"name\":{\"176\":{}},\"parent\":{}}],[\"getimports\",{\"_index\":5,\"name\":{\"5\":{},\"152\":{}},\"parent\":{}}],[\"getstring\",{\"_index\":21,\"name\":{\"21\":{},\"196\":{}},\"parent\":{}}],[\"getu16\",{\"_index\":122,\"name\":{\"159\":{}},\"parent\":{}}],[\"getu16array\",{\"_index\":142,\"name\":{\"179\":{}},\"parent\":{}}],[\"getu32\",{\"_index\":124,\"name\":{\"161\":{}},\"parent\":{}}],[\"getu32array\",{\"_index\":144,\"name\":{\"181\":{}},\"parent\":{}}],[\"getu64\",{\"_index\":126,\"name\":{\"163\":{}},\"parent\":{}}],[\"getu64array\",{\"_index\":146,\"name\":{\"183\":{}},\"parent\":{}}],[\"getu8\",{\"_index\":120,\"name\":{\"157\":{}},\"parent\":{}}],[\"getu8array\",{\"_index\":140,\"name\":{\"177\":{}},\"parent\":{}}],[\"growmemory\",{\"_index\":116,\"name\":{\"153\":{}},\"parent\":{}}],[\"has\",{\"_index\":187,\"name\":{\"238\":{}},\"parent\":{}}],[\"header\",{\"_index\":93,\"name\":{\"106\":{}},\"parent\":{}}],[\"i16\",{\"_index\":13,\"name\":{\"13\":{},\"134\":{}},\"parent\":{}}],[\"i32\",{\"_index\":15,\"name\":{\"15\":{},\"136\":{}},\"parent\":{}}],[\"i64\",{\"_index\":17,\"name\":{\"17\":{},\"138\":{}},\"parent\":{}}],[\"i8\",{\"_index\":11,\"name\":{\"11\":{},\"132\":{}},\"parent\":{}}],[\"icodegen\",{\"_index\":94,\"name\":{\"110\":{}},\"parent\":{\"111\":{},\"112\":{},\"113\":{},\"114\":{},\"115\":{}}}],[\"idgen\",{\"_index\":183,\"name\":{\"233\":{}},\"parent\":{}}],[\"imports\",{\"_index\":109,\"name\":{\"144\":{}},\"parent\":{}}],[\"indent\",{\"_index\":168,\"name\":{\"209\":{}},\"parent\":{}}],[\"init\",{\"_index\":4,\"name\":{\"4\":{},\"150\":{}},\"parent\":{}}],[\"instance\",{\"_index\":60,\"name\":{\"60\":{}},\"parent\":{}}],[\"instantiate\",{\"_index\":114,\"name\":{\"149\":{}},\"parent\":{}}],[\"isbignumeric\",{\"_index\":172,\"name\":{\"215\":{}},\"parent\":{}}],[\"isconst\",{\"_index\":199,\"name\":{\"254\":{},\"266\":{}},\"parent\":{}}],[\"isnumeric\",{\"_index\":171,\"name\":{\"214\":{}},\"parent\":{}}],[\"ispadding\",{\"_index\":175,\"name\":{\"218\":{}},\"parent\":{}}],[\"isstringslice\",{\"_index\":177,\"name\":{\"220\":{}},\"parent\":{}}],[\"iswasmprim\",{\"_index\":173,\"name\":{\"216\":{}},\"parent\":{}}],[\"iswasmstring\",{\"_index\":174,\"name\":{\"217\":{}},\"parent\":{}}],[\"items\",{\"_index\":184,\"name\":{\"234\":{}},\"parent\":{}}],[\"iwasmapi\",{\"_index\":3,\"name\":{\"3\":{}},\"parent\":{\"4\":{},\"5\":{}}}],[\"iwasmmemoryaccess\",{\"_index\":10,\"name\":{\"10\":{}},\"parent\":{\"11\":{},\"12\":{},\"13\":{},\"14\":{},\"15\":{},\"16\":{},\"17\":{},\"18\":{},\"19\":{},\"20\":{},\"21\":{},\"22\":{}}}],[\"keys\",{\"_index\":185,\"name\":{\"235\":{}},\"parent\":{}}],[\"len\",{\"_index\":80,\"name\":{\"87\":{}},\"parent\":{}}],[\"length\",{\"_index\":200,\"name\":{\"256\":{},\"268\":{}},\"parent\":{}}],[\"logger\",{\"_index\":113,\"name\":{\"148\":{},\"227\":{},\"232\":{}},\"parent\":{}}],[\"max\",{\"_index\":198,\"name\":{\"251\":{}},\"parent\":{}}],[\"mem\",{\"_index\":192,\"name\":{\"244\":{},\"252\":{},\"264\":{}},\"parent\":{}}],[\"memory\",{\"_index\":7,\"name\":{\"7\":{}},\"parent\":{}}],[\"modules\",{\"_index\":112,\"name\":{\"147\":{}},\"parent\":{}}],[\"name\",{\"_index\":70,\"name\":{\"70\":{},\"78\":{},\"81\":{},\"94\":{},\"97\":{},\"226\":{},\"231\":{}},\"parent\":{}}],[\"notify\",{\"_index\":162,\"name\":{\"201\":{}},\"parent\":{}}],[\"objectindex\",{\"_index\":182,\"name\":{\"229\":{}},\"parent\":{\"230\":{},\"231\":{},\"232\":{},\"233\":{},\"234\":{},\"235\":{},\"236\":{},\"237\":{},\"238\":{},\"239\":{},\"240\":{},\"241\":{}}}],[\"objectindexopts\",{\"_index\":180,\"name\":{\"225\":{}},\"parent\":{\"226\":{},\"227\":{},\"228\":{}}}],[\"outofmemoryerror\",{\"_index\":103,\"name\":{\"124\":{}},\"parent\":{\"125\":{}}}],[\"outofmemoryerror.__type\",{\"_index\":104,\"name\":{},\"parent\":{\"126\":{},\"127\":{},\"128\":{},\"129\":{}}}],[\"pad\",{\"_index\":82,\"name\":{\"89\":{}},\"parent\":{}}],[\"panic\",{\"_index\":97,\"name\":{\"118\":{}},\"parent\":{\"119\":{}}}],[\"panic.__type\",{\"_index\":100,\"name\":{},\"parent\":{\"120\":{},\"121\":{},\"122\":{},\"123\":{}}}],[\"pkg_name\",{\"_index\":0,\"name\":{\"0\":{}},\"parent\":{}}],[\"pointer\",{\"_index\":191,\"name\":{\"242\":{}},\"parent\":{\"243\":{},\"244\":{},\"245\":{},\"246\":{},\"247\":{},\"248\":{}}}],[\"post\",{\"_index\":89,\"name\":{\"102\":{},\"109\":{},\"112\":{},\"206\":{},\"211\":{},\"223\":{}},\"parent\":{}}],[\"pre\",{\"_index\":88,\"name\":{\"101\":{},\"108\":{},\"111\":{},\"205\":{},\"210\":{},\"222\":{}},\"parent\":{}}],[\"prefixlines\",{\"_index\":176,\"name\":{\"219\":{}},\"parent\":{}}],[\"preparestacktrace\",{\"_index\":101,\"name\":{\"121\":{},\"127\":{}},\"parent\":{}}],[\"printf32\",{\"_index\":36,\"name\":{\"36\":{}},\"parent\":{}}],[\"printf64\",{\"_index\":37,\"name\":{\"37\":{}},\"parent\":{}}],[\"printi16\",{\"_index\":27,\"name\":{\"27\":{}},\"parent\":{}}],[\"printi32\",{\"_index\":30,\"name\":{\"30\":{}},\"parent\":{}}],[\"printi64\",{\"_index\":33,\"name\":{\"33\":{}},\"parent\":{}}],[\"printi8\",{\"_index\":24,\"name\":{\"24\":{}},\"parent\":{}}],[\"printu16\",{\"_index\":28,\"name\":{\"28\":{}},\"parent\":{}}],[\"printu16hex\",{\"_index\":29,\"name\":{\"29\":{}},\"parent\":{}}],[\"printu32\",{\"_index\":31,\"name\":{\"31\":{}},\"parent\":{}}],[\"printu32hex\",{\"_index\":32,\"name\":{\"32\":{}},\"parent\":{}}],[\"printu64\",{\"_index\":34,\"name\":{\"34\":{}},\"parent\":{}}],[\"printu64hex\",{\"_index\":35,\"name\":{\"35\":{}},\"parent\":{}}],[\"printu8\",{\"_index\":25,\"name\":{\"25\":{}},\"parent\":{}}],[\"printu8hex\",{\"_index\":26,\"name\":{\"26\":{}},\"parent\":{}}],[\"removelistener\",{\"_index\":161,\"name\":{\"200\":{}},\"parent\":{}}],[\"sentinel\",{\"_index\":79,\"name\":{\"86\":{}},\"parent\":{}}],[\"set\",{\"_index\":201,\"name\":{\"258\":{},\"270\":{}},\"parent\":{}}],[\"setf32\",{\"_index\":137,\"name\":{\"174\":{}},\"parent\":{}}],[\"setf32array\",{\"_index\":157,\"name\":{\"194\":{}},\"parent\":{}}],[\"setf64\",{\"_index\":138,\"name\":{\"175\":{}},\"parent\":{}}],[\"setf64array\",{\"_index\":158,\"name\":{\"195\":{}},\"parent\":{}}],[\"seti16\",{\"_index\":131,\"name\":{\"168\":{}},\"parent\":{}}],[\"seti16array\",{\"_index\":151,\"name\":{\"188\":{}},\"parent\":{}}],[\"seti32\",{\"_index\":133,\"name\":{\"170\":{}},\"parent\":{}}],[\"seti32array\",{\"_index\":153,\"name\":{\"190\":{}},\"parent\":{}}],[\"seti64\",{\"_index\":135,\"name\":{\"172\":{}},\"parent\":{}}],[\"seti64array\",{\"_index\":155,\"name\":{\"192\":{}},\"parent\":{}}],[\"seti8\",{\"_index\":129,\"name\":{\"166\":{}},\"parent\":{}}],[\"seti8array\",{\"_index\":149,\"name\":{\"186\":{}},\"parent\":{}}],[\"setstring\",{\"_index\":22,\"name\":{\"22\":{},\"197\":{}},\"parent\":{}}],[\"setu16\",{\"_index\":132,\"name\":{\"169\":{}},\"parent\":{}}],[\"setu16array\",{\"_index\":152,\"name\":{\"189\":{}},\"parent\":{}}],[\"setu32\",{\"_index\":134,\"name\":{\"171\":{}},\"parent\":{}}],[\"setu32array\",{\"_index\":154,\"name\":{\"191\":{}},\"parent\":{}}],[\"setu64\",{\"_index\":136,\"name\":{\"173\":{}},\"parent\":{}}],[\"setu64array\",{\"_index\":156,\"name\":{\"193\":{}},\"parent\":{}}],[\"setu8\",{\"_index\":130,\"name\":{\"167\":{}},\"parent\":{}}],[\"setu8array\",{\"_index\":150,\"name\":{\"187\":{}},\"parent\":{}}],[\"size\",{\"_index\":59,\"name\":{\"59\":{}},\"parent\":{}}],[\"stacktracelimit\",{\"_index\":102,\"name\":{\"123\":{},\"129\":{}},\"parent\":{}}],[\"stringtype\",{\"_index\":91,\"name\":{\"104\":{}},\"parent\":{}}],[\"struct\",{\"_index\":73,\"name\":{\"73\":{},\"115\":{}},\"parent\":{\"74\":{},\"75\":{},\"76\":{},\"77\":{},\"78\":{},\"79\":{}}}],[\"structfield\",{\"_index\":77,\"name\":{\"80\":{}},\"parent\":{\"81\":{},\"82\":{},\"83\":{},\"84\":{},\"85\":{},\"86\":{},\"87\":{},\"88\":{},\"89\":{}}}],[\"tag\",{\"_index\":76,\"name\":{\"77\":{},\"83\":{},\"92\":{}},\"parent\":{}}],[\"timer\",{\"_index\":52,\"name\":{\"52\":{}},\"parent\":{}}],[\"tojson\",{\"_index\":202,\"name\":{\"259\":{},\"271\":{}},\"parent\":{}}],[\"topleveltype\",{\"_index\":69,\"name\":{\"69\":{}},\"parent\":{\"70\":{},\"71\":{},\"72\":{}}}],[\"tostring\",{\"_index\":203,\"name\":{\"260\":{},\"272\":{}},\"parent\":{}}],[\"tsopts\",{\"_index\":167,\"name\":{\"208\":{}},\"parent\":{\"209\":{},\"210\":{},\"211\":{}}}],[\"type\",{\"_index\":72,\"name\":{\"72\":{},\"74\":{},\"84\":{},\"91\":{}},\"parent\":{}}],[\"typecoll\",{\"_index\":67,\"name\":{\"67\":{}},\"parent\":{}}],[\"typeinfo\",{\"_index\":68,\"name\":{\"68\":{}},\"parent\":{}}],[\"typeprefix\",{\"_index\":165,\"name\":{\"204\":{}},\"parent\":{}}],[\"typescript\",{\"_index\":169,\"name\":{\"212\":{}},\"parent\":{}}],[\"u16\",{\"_index\":14,\"name\":{\"14\":{},\"135\":{}},\"parent\":{}}],[\"u32\",{\"_index\":16,\"name\":{\"16\":{},\"137\":{}},\"parent\":{}}],[\"u64\",{\"_index\":18,\"name\":{\"18\":{},\"139\":{}},\"parent\":{}}],[\"u8\",{\"_index\":12,\"name\":{\"12\":{},\"133\":{}},\"parent\":{}}],[\"uppercaseenums\",{\"_index\":92,\"name\":{\"105\":{}},\"parent\":{}}],[\"usize\",{\"_index\":95,\"name\":{\"116\":{}},\"parent\":{}}],[\"usize_size\",{\"_index\":96,\"name\":{\"117\":{}},\"parent\":{}}],[\"utf8decoder\",{\"_index\":107,\"name\":{\"142\":{}},\"parent\":{}}],[\"utf8encoder\",{\"_index\":108,\"name\":{\"143\":{}},\"parent\":{}}],[\"value\",{\"_index\":86,\"name\":{\"98\":{}},\"parent\":{}}],[\"valueof\",{\"_index\":204,\"name\":{\"261\":{},\"273\":{}},\"parent\":{}}],[\"values\",{\"_index\":84,\"name\":{\"93\":{},\"236\":{}},\"parent\":{}}],[\"wasmbridge\",{\"_index\":105,\"name\":{\"130\":{}},\"parent\":{\"131\":{},\"132\":{},\"133\":{},\"134\":{},\"135\":{},\"136\":{},\"137\":{},\"138\":{},\"139\":{},\"140\":{},\"141\":{},\"142\":{},\"143\":{},\"144\":{},\"145\":{},\"146\":{},\"147\":{},\"148\":{},\"149\":{},\"150\":{},\"151\":{},\"152\":{},\"153\":{},\"154\":{},\"155\":{},\"156\":{},\"157\":{},\"158\":{},\"159\":{},\"160\":{},\"161\":{},\"162\":{},\"163\":{},\"164\":{},\"165\":{},\"166\":{},\"167\":{},\"168\":{},\"169\":{},\"170\":{},\"171\":{},\"172\":{},\"173\":{},\"174\":{},\"175\":{},\"176\":{},\"177\":{},\"178\":{},\"179\":{},\"180\":{},\"181\":{},\"182\":{},\"183\":{},\"184\":{},\"185\":{},\"186\":{},\"187\":{},\"188\":{},\"189\":{},\"190\":{},\"191\":{},\"192\":{},\"193\":{},\"194\":{},\"195\":{},\"196\":{},\"197\":{},\"198\":{},\"199\":{},\"200\":{},\"201\":{}}}],[\"wasmexports\",{\"_index\":6,\"name\":{\"6\":{}},\"parent\":{\"7\":{},\"8\":{},\"9\":{}}}],[\"wasmfloat\",{\"_index\":64,\"name\":{\"64\":{}},\"parent\":{}}],[\"wasmint\",{\"_index\":62,\"name\":{\"62\":{}},\"parent\":{}}],[\"wasmprim\",{\"_index\":65,\"name\":{\"65\":{}},\"parent\":{}}],[\"wasmprim32\",{\"_index\":66,\"name\":{\"66\":{}},\"parent\":{}}],[\"wasmstringptr\",{\"_index\":205,\"name\":{\"262\":{}},\"parent\":{\"263\":{},\"264\":{},\"265\":{},\"266\":{},\"267\":{},\"268\":{},\"269\":{},\"270\":{},\"271\":{},\"272\":{},\"273\":{}}}],[\"wasmstringslice\",{\"_index\":197,\"name\":{\"249\":{}},\"parent\":{\"250\":{},\"251\":{},\"252\":{},\"253\":{},\"254\":{},\"255\":{},\"256\":{},\"257\":{},\"258\":{},\"259\":{},\"260\":{},\"261\":{}}}],[\"wasmtype\",{\"_index\":57,\"name\":{\"57\":{}},\"parent\":{\"58\":{},\"59\":{},\"60\":{}}}],[\"wasmtypebase\",{\"_index\":54,\"name\":{\"54\":{}},\"parent\":{\"55\":{},\"56\":{}}}],[\"wasmtypeconstructor\",{\"_index\":61,\"name\":{\"61\":{}},\"parent\":{}}],[\"wasmuint\",{\"_index\":63,\"name\":{\"63\":{}},\"parent\":{}}],[\"withindentation\",{\"_index\":170,\"name\":{\"213\":{}},\"parent\":{}}],[\"zig\",{\"_index\":179,\"name\":{\"224\":{}},\"parent\":{}}],[\"zigopts\",{\"_index\":178,\"name\":{\"221\":{}},\"parent\":{\"222\":{},\"223\":{}}}]],\"pipeline\":[]}}");
package/include/wasmapi.h CHANGED
@@ -9,24 +9,33 @@ extern "C" {
9
9
 
10
10
  // Declares an imported symbol from named import module
11
11
  // The prefix is only used for the C side, NOT for exported name
12
- #define WASM_IMPORT(MODULE, TYPE, NAME, PREFIX) \
13
- extern __attribute__((import_module(MODULE), import_name(#NAME))) \
14
- TYPE PREFIX##NAME
12
+ #define WASM_IMPORT(MODULE, TYPE, NAME, PREFIX) \
13
+ extern __attribute__((import_module(MODULE), import_name(#NAME))) TYPE PREFIX##NAME
15
14
 
16
15
  // Same as EMSCRIPTEN_KEEP_ALIVE, ensures symbol will be exported
17
16
  #define WASM_KEEP __attribute__((used))
18
17
 
19
- // Generate stubs only if explicitly disabled by defining this symbol
20
- #ifdef WASMAPI_NO_MALLOC
21
- size_t WASM_KEEP _wasm_allocate(size_t num_bytes) { return 0; }
22
- void WASM_KEEP _wasm_free(size_t addr) {}
23
- #else
18
+ // Generate malloc/free wrappers only if explicitly enabled by defining this
19
+ // symbol. If undefined some function stubs are exported.
20
+ #ifdef WASMAPI_MALLOC
21
+
24
22
  #include <stdlib.h>
25
23
  size_t WASM_KEEP _wasm_allocate(size_t numBytes) {
26
24
  return (size_t)malloc(numBytes);
27
25
  }
28
- void WASM_KEEP _wasm_free(size_t addr) { free((void*)addr); }
29
- #endif
26
+ void WASM_KEEP _wasm_free(size_t addr, size_t numBytes) {
27
+ free((void*)addr);
28
+ }
29
+
30
+ #else
31
+
32
+ size_t WASM_KEEP _wasm_allocate(size_t numBytes) {
33
+ return 0;
34
+ }
35
+ void WASM_KEEP _wasm_free(size_t addr, size_t numBytes) {
36
+ }
37
+
38
+ #endif // WASMAPI_MALLOC
30
39
 
31
40
  WASM_IMPORT("wasmapi", void, printI8, wasm_)(int8_t x);
32
41
  WASM_IMPORT("wasmapi", void, printU8, wasm_)(uint8_t x);
@@ -43,23 +52,29 @@ WASM_IMPORT("wasmapi", void, printU64Hex, wasm_)(uint64_t x);
43
52
  WASM_IMPORT("wasmapi", void, printF32, wasm_)(float x);
44
53
  WASM_IMPORT("wasmapi", void, printF64, wasm_)(double x);
45
54
 
46
- WASM_IMPORT("wasmapi", void, _printI8Array, wasm)(void* addr, size_t len);
47
- WASM_IMPORT("wasmapi", void, _printU8Array, wasm)(void* addr, size_t len);
48
- WASM_IMPORT("wasmapi", void, _printI16Array, wasm)(void* addr, size_t len);
49
- WASM_IMPORT("wasmapi", void, _printU16Array, wasm)(void* addr, size_t len);
50
- WASM_IMPORT("wasmapi", void, _printI32Array, wasm)(void* addr, size_t len);
51
- WASM_IMPORT("wasmapi", void, _printU32Array, wasm)(void* addr, size_t len);
52
- WASM_IMPORT("wasmapi", void, _printI64Array, wasm)(void* addr, size_t len);
53
- WASM_IMPORT("wasmapi", void, _printU64Array, wasm)(void* addr, size_t len);
54
- WASM_IMPORT("wasmapi", void, _printF32Array, wasm)(void* addr, size_t len);
55
- WASM_IMPORT("wasmapi", void, _printF64Array, wasm)(void* addr, size_t len);
55
+ WASM_IMPORT("wasmapi", void, _printI8Array, wasm)(const int8_t* addr, size_t len);
56
+ WASM_IMPORT("wasmapi", void, _printU8Array, wasm)(const uint8_t* addr, size_t len);
57
+ WASM_IMPORT("wasmapi", void, _printI16Array, wasm)(const int16_t* addr, size_t len);
58
+ WASM_IMPORT("wasmapi", void, _printU16Array, wasm)(const uint16_t* addr, size_t len);
59
+ WASM_IMPORT("wasmapi", void, _printI32Array, wasm)(const int32_t* addr, size_t len);
60
+ WASM_IMPORT("wasmapi", void, _printU32Array, wasm)(const uint32_t* addr, size_t len);
61
+ WASM_IMPORT("wasmapi", void, _printI64Array, wasm)(const int64_t* addr, size_t len);
62
+ WASM_IMPORT("wasmapi", void, _printU64Array, wasm)(const uint64_t* addr, size_t len);
63
+ WASM_IMPORT("wasmapi", void, _printF32Array, wasm)(const float* addr, size_t len);
64
+ WASM_IMPORT("wasmapi", void, _printF64Array, wasm)(const double* addr, size_t len);
56
65
 
57
- WASM_IMPORT("wasmapi", void, _printStr0, wasm)(void* addr);
58
- WASM_IMPORT("wasmapi", void, _printStr, wasm)(void* addr, size_t len);
66
+ WASM_IMPORT("wasmapi", void, _printStr0, wasm)(const char* addr);
67
+ WASM_IMPORT("wasmapi", void, _printStr, wasm)(const char* addr, size_t len);
59
68
 
60
69
  WASM_IMPORT("wasmapi", void, debug, wasm_)(void);
70
+ WASM_IMPORT("wasmapi", void, panic, wasm_)(const char*, size_t len);
71
+
72
+ WASM_IMPORT("wasmapi", double, timer, wasm_)(void);
73
+ WASM_IMPORT("wasmapi", uint64_t, epoch, wasm_)(void);
61
74
 
62
- void wasm_printPtr(void* ptr) { wasm_printU32Hex((size_t)ptr); }
75
+ void wasm_printPtr(const void* ptr) {
76
+ wasm_printU32Hex((size_t)ptr);
77
+ }
63
78
 
64
79
  #ifdef __cplusplus
65
80
  }
@@ -3,28 +3,41 @@
3
3
  const std = @import("std");
4
4
  const root = @import("root");
5
5
 
6
- /// Initialize the allocator to be exposed to the WASM host env
6
+ /// JS external part of the custom panic handler
7
+ /// Prints message using configured JS logger and then throws JS error
8
+ pub extern "wasmapi" fn _panic(addr: [*]const u8, len: usize) noreturn;
9
+
10
+ /// Custom panic handler which prints given message using configured JS logger
11
+ /// To use this handler, add the following line to your **root** source file:
12
+ ///
13
+ /// ```
14
+ /// pub const panic = @import("wasmapi").panic;
15
+ /// ```
16
+ pub fn panic(msg: []const u8, _: ?*std.builtin.StackTrace) noreturn {
17
+ _panic(msg.ptr, msg.len);
18
+ unreachable;
19
+ }
20
+
21
+ /// Obtains the allocator to be exposed to the WASM host env
7
22
  /// (via `_wasm_allocate()` and `_wasm_free()`).
8
- /// If the user defines a public `WASM_ALLOCATOR` in their root file
9
- /// then this allocator will be used, otherwise the implementation
10
- /// falls back to using GPA.
23
+ /// If the user defines a public `WASM_ALLOCATOR` in their **root** file
24
+ /// then this allocator will be used, otherwise the implementations
25
+ /// of the two mentioned functions are no-ops.
26
+ /// The `WASM_ALLOCATOR` can be changed and/or enabled/disabled dynamically
27
+ /// This helper function here is used to always lookup the current value/impl.
28
+ ///
11
29
  /// Note: The type for this var is purposefully chosen as an optional,
12
- /// effectively disabling allocations from the WASM host side if
13
- /// `WASM_ALLOCATOR` is set to null.
14
- pub const allocator: ?std.mem.Allocator = alloc: {
15
- if (@hasDecl(root, "WASM_ALLOCATOR")) {
16
- break :alloc root.WASM_ALLOCATOR;
17
- } else {
18
- var gpa = std.heap.GeneralPurposeAllocator(.{}){};
19
- break :alloc gpa.allocator();
20
- }
21
- };
30
+ /// effectively disabling allocations from the WASM host side if no
31
+ /// `WASM_ALLOCATOR` is set (or set to null).
32
+ pub fn allocator() ?std.mem.Allocator {
33
+ return if (@hasDecl(root, "WASM_ALLOCATOR")) root.WASM_ALLOCATOR else null;
34
+ }
22
35
 
23
- /// Attempts to allocate memory using configured `allocator` and if
36
+ /// Attempts to allocate memory using configured `allocator()` and if
24
37
  /// successful returns address of new chunk or zero if failed
25
38
  /// Note: For SIMD compatibility all allocations are aligned to 16 bytes
26
39
  pub export fn _wasm_allocate(numBytes: usize) usize {
27
- if (allocator) |alloc| {
40
+ if (allocator()) |alloc| {
28
41
  var mem = alloc.alignedAlloc(u8, 16, numBytes) catch return 0;
29
42
  return @ptrToInt(mem.ptr);
30
43
  }
@@ -33,11 +46,10 @@ pub export fn _wasm_allocate(numBytes: usize) usize {
33
46
 
34
47
  /// Frees chunk of heap memory (previously allocated using `_wasm_allocate()`)
35
48
  /// starting at given address and of given byte length.
36
- /// Note: This is a no-op if the allocator is explicitly disabled (see `setAllocator()`),
37
- pub export fn _wasm_free(addr: usize, numBytes: usize) void {
38
- if (allocator) |alloc| {
39
- var mem = [2]usize{ addr, numBytes };
40
- printFmt("{d}", .{@ptrCast(*[]u8, &mem).*});
49
+ /// Note: This is a no-op if no allocator is configured (see `allocator()`)
50
+ pub export fn _wasm_free(addr: [*]u8, numBytes: usize) void {
51
+ if (allocator()) |alloc| {
52
+ var mem = [2]usize{ @ptrToInt(addr), numBytes };
41
53
  alloc.free(@ptrCast(*[]u8, &mem).*);
42
54
  }
43
55
  }
@@ -63,26 +75,12 @@ pub extern "wasmapi" fn printU32(x: u32) void;
63
75
  /// Prints hex number using configured JS logger
64
76
  pub extern "wasmapi" fn printU32Hex(x: u32) void;
65
77
 
66
- /// Prints decomposed i64 number using configured JS logger
67
- pub extern "wasmapi" fn _printI64(hi: i32, lo: i32) void;
68
- /// Convenience wrapper for _printI64(), accepting an i64
69
- pub fn printI64(x: i64) void {
70
- _printI64(@truncate(i32, x >> 32), @truncate(i32, x));
71
- }
72
-
73
- /// Prints decomposed u64 number using configured JS logger
74
- pub extern "wasmapi" fn _printU64(hi: u32, lo: u32) void;
75
- /// Convenience wrapper for _printU64(), accepting an u64
76
- pub fn printU64(x: u64) void {
77
- _printU64(@truncate(u32, x >> 32), @truncate(u32, x));
78
- }
79
-
80
- /// Prints decomposed u64 hex number using configured JS logger
81
- pub extern "wasmapi" fn _printU64Hex(hi: u32, lo: u32) void;
82
- /// Convenience wrapper for _printU64Hex(), accepting an u64
83
- pub fn printU64Hex(x: u64) void {
84
- _printU64Hex(@truncate(u32, x >> 32), @truncate(u32, x));
85
- }
78
+ /// Prints i64 number using configured JS logger
79
+ pub extern "wasmapi" fn printI64(x: i64) void;
80
+ /// Prints u64 number using configured JS logger
81
+ pub extern "wasmapi" fn printU64(x: u64) void;
82
+ /// Prints u64 hex number using configured JS logger
83
+ pub extern "wasmapi" fn printU64Hex(x: u64) void;
86
84
 
87
85
  /// Prints number using configured JS logger
88
86
  pub extern "wasmapi" fn printF32(x: f32) void;
@@ -95,81 +93,81 @@ pub fn printPtr(ptr: *const anyopaque) void {
95
93
  }
96
94
 
97
95
  /// Prints number array using configured JS logger
98
- pub extern "wasmapi" fn _printI8Array(addr: usize, len: usize) void;
96
+ pub extern "wasmapi" fn _printI8Array(addr: [*]const i8, len: usize) void;
99
97
  /// Prints number array using configured JS logger
100
- pub extern "wasmapi" fn _printU8Array(addr: usize, len: usize) void;
98
+ pub extern "wasmapi" fn _printU8Array(addr: [*]const u8, len: usize) void;
101
99
  /// Prints number array using configured JS logger
102
- pub extern "wasmapi" fn _printI16Array(addr: usize, len: usize) void;
100
+ pub extern "wasmapi" fn _printI16Array(addr: [*]const i16, len: usize) void;
103
101
  /// Prints number array using configured JS logger
104
- pub extern "wasmapi" fn _printU16Array(addr: usize, len: usize) void;
102
+ pub extern "wasmapi" fn _printU16Array(addr: [*]const u16, len: usize) void;
105
103
  /// Prints number array using configured JS logger
106
- pub extern "wasmapi" fn _printI32Array(addr: usize, len: usize) void;
104
+ pub extern "wasmapi" fn _printI32Array(addr: [*]const i32, len: usize) void;
107
105
  /// Prints number array using configured JS logger
108
- pub extern "wasmapi" fn _printU32Array(addr: usize, len: usize) void;
106
+ pub extern "wasmapi" fn _printU32Array(addr: [*]const u32, len: usize) void;
109
107
  /// Prints number array using configured JS logger
110
- pub extern "wasmapi" fn _printI64Array(addr: usize, len: usize) void;
108
+ pub extern "wasmapi" fn _printI64Array(addr: [*]const i64, len: usize) void;
111
109
  /// Prints number array using configured JS logger
112
- pub extern "wasmapi" fn _printU64Array(addr: usize, len: usize) void;
110
+ pub extern "wasmapi" fn _printU64Array(addr: [*]const u64, len: usize) void;
113
111
  /// Prints number array using configured JS logger
114
- pub extern "wasmapi" fn _printF32Array(addr: usize, len: usize) void;
112
+ pub extern "wasmapi" fn _printF32Array(addr: [*]const f32, len: usize) void;
115
113
  /// Prints number array using configured JS logger
116
- pub extern "wasmapi" fn _printF64Array(addr: usize, len: usize) void;
114
+ pub extern "wasmapi" fn _printF64Array(addr: [*]const f64, len: usize) void;
117
115
 
118
116
  /// Prints number array using configured JS logger
119
117
  pub fn printI8Array(buf: []const i8) void {
120
- _printI8Array(@ptrToInt(buf.ptr), buf.len);
118
+ _printI8Array(buf.ptr, buf.len);
121
119
  }
122
120
  /// Prints number array using configured JS logger
123
121
  pub fn printU8Array(buf: []const u8) void {
124
- _printU8Array(@ptrToInt(buf.ptr), buf.len);
122
+ _printU8Array(buf.ptr, buf.len);
125
123
  }
126
124
  /// Prints number array using configured JS logger
127
125
  pub fn printI16Array(buf: []const i16) void {
128
- _printI16Array(@ptrToInt(buf.ptr), buf.len);
126
+ _printI16Array(buf.ptr, buf.len);
129
127
  }
130
128
  /// Prints number array using configured JS logger
131
129
  pub fn printU16Array(buf: []const u16) void {
132
- _printU16Array(@ptrToInt(buf.ptr), buf.len);
130
+ _printU16Array(buf.ptr, buf.len);
133
131
  }
134
132
  /// Prints number array using configured JS logger
135
133
  pub fn printI32Array(buf: []const i32) void {
136
- _printI32Array(@ptrToInt(buf.ptr), buf.len);
134
+ _printI32Array(buf.ptr, buf.len);
137
135
  }
138
136
  /// Prints number array using configured JS logger
139
137
  pub fn printU32Array(buf: []const u32) void {
140
- _printU32Array(@ptrToInt(buf.ptr), buf.len);
138
+ _printU32Array(buf.ptr, buf.len);
141
139
  }
142
140
  /// Prints number array using configured JS logger
143
141
  pub fn printI64Array(buf: []const i64) void {
144
- _printI64Array(@ptrToInt(buf.ptr), buf.len);
142
+ _printI64Array(buf.ptr, buf.len);
145
143
  }
146
144
  /// Prints number array using configured JS logger
147
145
  pub fn printU64Array(buf: []const u64) void {
148
- _printU64Array(@ptrToInt(buf.ptr), buf.len);
146
+ _printU64Array(buf.ptr, buf.len);
149
147
  }
150
148
  /// Prints number array using configured JS logger
151
149
  pub fn printF32Array(buf: []const f32) void {
152
- _printF32Array(@ptrToInt(buf.ptr), buf.len);
150
+ _printF32Array(buf.ptr, buf.len);
153
151
  }
154
152
  /// Prints number array using configured JS logger
155
153
  pub fn printF64Array(buf: []const f64) void {
156
- _printF64Array(@ptrToInt(buf.ptr), buf.len);
154
+ _printF64Array(buf.ptr, buf.len);
157
155
  }
158
156
 
159
157
  /// Prints a zero-terminated string using configured JS logger
160
- pub extern "wasmapi" fn _printStr0(addr: usize) void;
158
+ pub extern "wasmapi" fn _printStr0(addr: [*]const u8) void;
161
159
  /// Prints a string of given length using configured JS logger
162
- pub extern "wasmapi" fn _printStr(addr: usize, len: usize) void;
160
+ pub extern "wasmapi" fn _printStr(addr: [*]const u8, len: usize) void;
163
161
  /// Convenience wrapper for _printStr, accepting a slice as arg
164
162
  pub fn printStr(msg: []const u8) void {
165
- _printStr(@ptrToInt(msg.ptr), msg.len);
163
+ _printStr(msg.ptr, msg.len);
166
164
  }
167
165
 
168
166
  /// Calls std.fmt.allocPrint to format given string, then calls `printStr()`
169
167
  /// to output it via JS, then frees string's memory again
170
168
  /// (Only available if the allocator used by `_wasm_allocate()` hasn't been disabled.)
171
169
  pub fn printFmt(comptime fmt: []const u8, args: anytype) void {
172
- if (allocator) |alloc| {
170
+ if (allocator()) |alloc| {
173
171
  const res = std.fmt.allocPrint(alloc, fmt, args) catch return;
174
172
  defer alloc.free(res);
175
173
  printStr(res);
@@ -178,3 +176,9 @@ pub fn printFmt(comptime fmt: []const u8, args: anytype) void {
178
176
 
179
177
  /// Triggers the JS/browser debugger
180
178
  pub extern "wasmapi" fn debug() void;
179
+
180
+ /// Returns a JS/browser highres timer value (via `performance.now()`)
181
+ pub extern "wasmapi" fn timer() f64;
182
+
183
+ /// Returns a JS/browser Unix epoch (via `Date.now()`)
184
+ pub extern "wasmapi" fn epoch() u64;
package/index.d.ts CHANGED
@@ -1,8 +1,11 @@
1
1
  export * from "./api.js";
2
2
  export * from "./bridge.js";
3
3
  export * from "./codegen.js";
4
+ export * from "./codegen/c11.js";
4
5
  export * from "./codegen/typescript.js";
5
6
  export * from "./codegen/utils.js";
6
7
  export * from "./codegen/zig.js";
7
8
  export * from "./object-index.js";
9
+ export * from "./pointer.js";
10
+ export * from "./string.js";
8
11
  //# sourceMappingURL=index.d.ts.map