Skip to content

Commit 84f6deb

Browse files
committed
fix: Correct Heap_type.set_field_name js binding
1 parent eb00e3b commit 84f6deb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/heap_type.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,6 @@ function caml_binaryen_module_set_type_name(wasm_mod, heapType, name) {
120120

121121
//Provides: caml_binaryen_module_set_field_name
122122
//Requires: caml_jsstring_of_string
123-
function caml_binaryen_module_set_field_name(heapType, index, name) {
123+
function caml_binaryen_module_set_field_name(wasm_mod, heapType, index, name) {
124124
wasm_mod.setFieldName(heapType, index, caml_jsstring_of_string(name));
125125
}

0 commit comments

Comments
 (0)