Crate wasm_plugin_guest[−][src]
A low-ish level tool for easily writing WASM based plugins to be hosted by wasm_plugin_host.
The goal of wasm_plugin is to make communicating across the host-plugin boundary as simple and idiomatic as possible while being unopinionated about how you actually use the plugin.
Macros
export_plugin_function_with_input_message | Export a function with a single argument to the plugin host |
export_plugin_function_with_no_input | Export a function with no arguments to the plugin host |
Functions
read_message | Read a message from the buffer used to communicate with the host. You should never need to call this directly. |
write_message | Write a message to the buffer used to communicate with the host. You should never need to call this directly. |