Home
last modified time | relevance | path

Searched refs:context_mut (Results 1 – 6 of 6) sorted by relevance

/wasmtime-44.0.1/crates/c-api/src/
H A Dglobal.rs38 match Global::new(store.store.context_mut(), gt.ty().ty.clone(), val.val()) { in wasm_global_new()
70 wasm_val_t::from_val(global.get(g.ext.store.context_mut())), in wasm_global_get()
77 drop(global.set(g.ext.store.context_mut(), val.val())); in wasm_global_set()
H A Dtable.rs47 let table = Table::new(store.store.context_mut(), tt, init).ok()?; in wasm_table_new()
69 let r = table.get(t.ext.store.context_mut(), u64::from(index))?; in wasm_table_get()
82 .set(t.ext.store.context_mut(), u64::from(index), val) in wasm_table_set()
102 .grow(t.ext.store.context_mut(), u64::from(delta), init) in wasm_table_grow()
H A Dmemory.rs39 let memory = Memory::new(store.store.context_mut(), mt.ty().ty.clone()).ok()?; in wasm_memory_new()
85 let mut store = m.ext.store.context_mut(); in wasm_memory_grow()
H A Dinstance.rs38 match Instance::new(store.store.context_mut(), &wasm_module.module, &imports) { in wasm_instance_new()
61 .exports(instance.store.context_mut()) in wasm_instance_exports()
H A Dfunc.rs63 store.store.context_mut(), in create_function()
151 f.call(func.ext.store.context_mut(), wt_params, wt_results) in wasm_func_call()
H A Dstore.rs38 pub unsafe fn context_mut(&mut self) -> WasmStoreContextMut<'_> { in context_mut() method