doc(c-api) Specify where examples are for wasm_instance_new.

This commit is contained in:
Ivan Enderlin
2020-12-15 16:07:13 +01:00
parent 7a30c31a6f
commit fb7ce4ad9a

View File

@@ -32,6 +32,10 @@ pub struct wasm_instance_t {
///
/// The `store` argument is ignored. The store from the given module
/// will be used.
///
/// # Example
///
/// See the module's documentation.
#[no_mangle]
pub unsafe extern "C" fn wasm_instance_new(
_store: Option<&wasm_store_t>,