Lines Matching refs:Box
34 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_component_new()
37 *component_out = Box::into_raw(Box::new(wasmtime_component_t { component })); in wasmtime_component_new()
46 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_component_serialize()
58 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_component_deserialize()
63 *component_out = Box::into_raw(Box::new(wasmtime_component_t { component })); in wasmtime_component_deserialize()
73 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_component_deserialize_file()
80 *component_out = Box::into_raw(Box::new(wasmtime_component_t { component })); in wasmtime_component_deserialize_file()
87 ) -> Box<wasmtime_component_type_t> { in wasmtime_component_type()
88 Box::new(component.component.component_type().into()) in wasmtime_component_type()
94 ) -> Box<wasmtime_component_t> { in wasmtime_component_clone()
95 Box::new(component.clone()) in wasmtime_component_clone()
99 pub extern "C" fn wasmtime_component_delete(_component: Box<wasmtime_component_t>) {} in wasmtime_component_delete()
112 ) -> Option<Box<wasmtime_component_export_index_t>> { in wasmtime_component_get_export_index()
127 .map(|export_index| Box::new(wasmtime_component_export_index_t { export_index })) in wasmtime_component_get_export_index()
133 ) -> Box<wasmtime_component_export_index_t> { in wasmtime_component_export_index_clone()
134 Box::new(wasmtime_component_export_index_t { in wasmtime_component_export_index_clone()
141 _export_index: Box<wasmtime_component_export_index_t>, in wasmtime_component_export_index_delete()