(module: &wasm_module_t)
| 89 | |
| 90 | #[unsafe(no_mangle)] |
| 91 | pub extern "C" fn wasm_module_share(module: &wasm_module_t) -> Box<wasm_shared_module_t> { |
| 92 | Box::new(wasm_shared_module_t { |
| 93 | module: module.module.clone(), |
| 94 | }) |
| 95 | } |
| 96 | |
| 97 | #[unsafe(no_mangle)] |
| 98 | pub unsafe extern "C" fn wasm_module_obtain( |