MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / wasmtime_context_get_data

Function wasmtime_context_get_data

crates/c-api/src/store.rs:222–224  ·  view source on GitHub ↗
(store: WasmtimeStoreContext<'_>)

Source from the content-addressed store, hash-verified

220
221#[unsafe(no_mangle)]
222pub extern "C" fn wasmtime_context_get_data(store: WasmtimeStoreContext<'_>) -> *mut c_void {
223 store.data().foreign.data
224}
225
226#[unsafe(no_mangle)]
227pub extern "C" fn wasmtime_context_set_data(

Callers 2

set_dataMethod · 0.85
ContextClass · 0.85

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected