mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-01 18:01:06 +00:00
Fix getArrayJsValueFromWasm
exposing wrong function
This needs `getUint32Memory`, not `getArrayU32FromWasm`.
This commit is contained in:
parent
3510b20595
commit
67b9ce58aa
@ -1059,7 +1059,7 @@ impl<'a> Context<'a> {
|
|||||||
if !self.exposed_globals.insert("get_array_js_value_from_wasm") {
|
if !self.exposed_globals.insert("get_array_js_value_from_wasm") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
self.expose_get_array_u32_from_wasm();
|
self.expose_uint32_memory();
|
||||||
self.expose_take_object();
|
self.expose_take_object();
|
||||||
self.global(
|
self.global(
|
||||||
"
|
"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user