[WASM] throwableExtensions implementation
This commit is contained in:
@@ -118,7 +118,11 @@ fun WasmCompiledModuleFragment.generateJs(): String {
|
||||
|
||||
println(valueAddr) {
|
||||
console.log(">>> " + importStringFromWasm(valueAddr));
|
||||
}
|
||||
},
|
||||
|
||||
printError(valueAddr) {
|
||||
console.error(">>> " + importStringFromWasm(valueAddr));
|
||||
},
|
||||
};
|
||||
|
||||
function importStringFromWasm(addr) {
|
||||
|
||||
Reference in New Issue
Block a user