[WASM] throwableExtensions implementation

This commit is contained in:
Igor Yakovlev
2022-01-20 17:17:17 +01:00
parent 28b1f1c50f
commit e32f9eb2ce
5 changed files with 149 additions and 11 deletions
@@ -118,7 +118,11 @@ fun WasmCompiledModuleFragment.generateJs(): String {
println(valueAddr) {
console.log(">>> " + importStringFromWasm(valueAddr));
}
},
printError(valueAddr) {
console.error(">>> " + importStringFromWasm(valueAddr));
},
};
function importStringFromWasm(addr) {