Skip to content

Conversation

@spotandjake
Copy link
Contributor

This implements BinaryenModuleUpdateMaps as module.update_maps() in the js api.

I might need some guidance on testing this. This is meant to be called after setName on a module in the c test suite it's called after Table.setName however I can't find any setName api's implemented in the js api so this might need to wait.

I am trying to update this so we can make our bindings symmetrical between our js and c bindings in binaryen.ml

This implements `BinaryenModuleUpdateMaps` as `module.update_maps()` in the js api.

I might need some guidance on testing this. This is meant to be called after `setName` on a module in the c test suite it's called after `Table.setName` however I can't find any `setName` api's implemented in the js api so this might need to wait.

I am trying to update this so we can make our bindings symmetrical between our js and c bindings in [`binaryen.ml`](grain-lang/binaryen.ml#266)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant