Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ function caml_binaryen_module_get_debug_info_filename(wasm_mod, index) {
}

//Provides: caml_binaryen_add_custom_section
//Requires: caml_jsstring_of_string, caml_array_of_string
//Requires: caml_jsstring_of_string, caml_uint8_array_of_string
function caml_binaryen_add_custom_section(wasm_mod, name, contents) {
return wasm_mod.addCustomSection(
caml_jsstring_of_string(name),
caml_array_of_string(contents)
caml_uint8_array_of_string(contents)
);
}

Expand Down