Lines Matching refs:Box
19 pub extern "C" fn wasmtime_linker_new(engine: &wasm_engine_t) -> Box<wasmtime_linker_t> { in wasmtime_linker_new()
20 Box::new(wasmtime_linker_t { in wasmtime_linker_new()
26 pub extern "C" fn wasmtime_linker_clone(linker: &wasmtime_linker_t) -> Box<wasmtime_linker_t> { in wasmtime_linker_clone()
27 Box::new(wasmtime_linker_t { in wasmtime_linker_clone()
61 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_define()
80 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_define_func()
99 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_define_func_unchecked()
114 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_define_wasi()
130 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_define_instance()
143 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_instantiate()
153 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_instantiate_pre()
156 let instance_pre = Box::new(wasmtime_instance_pre_t { underlying: i }); in wasmtime_linker_instantiate_pre()
157 *instance_ptr = Box::into_raw(instance_pre) in wasmtime_linker_instantiate_pre()
168 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_module()
181 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_get_default()
219 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_define_unknown_imports_as_traps()
233 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_define_unknown_imports_as_default_values()