wasmer-python
wasmer-python copied to clipboard
Support getting and setting element in a table
Motivation
In order to interact with my wasm program from Python I need to be able to get the function pointers stored in a table. I had a look at the Python documentation on WASM table https://wasmerio.github.io/wasmer-python/api/wasmer/wasmer.html#Table but it looks like one can only access the size and the type of the table. I might have overlooked something, so if there is a way to get the function pointers from a table please let me know
Proposed solution
Provide a get and set method on the Table object.
Thanks