doc(c-api) Add the own annotation when necessary.

This commit is contained in:
Ivan Enderlin
2020-11-12 16:51:46 +01:00
parent 3a5fad1ac4
commit 69c23fd78f
3 changed files with 7 additions and 1 deletions

View File

@@ -60,6 +60,7 @@ pub unsafe extern "C" fn wasm_instance_delete(_instance: Option<Box<wasm_instanc
#[no_mangle]
pub unsafe extern "C" fn wasm_instance_exports(
instance: &wasm_instance_t,
// own
out: &mut wasm_extern_vec_t,
) {
let instance = &instance.inner;