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

Function wasmtime_context_gc

crates/c-api/src/store.rs:253–257  ·  view source on GitHub ↗
(
    mut context: WasmtimeStoreContextMut<'_>,
)

Source from the content-addressed store, hash-verified

251#[unsafe(no_mangle)]
252#[cfg(feature = "gc")]
253pub extern "C" fn wasmtime_context_gc(
254 mut context: WasmtimeStoreContextMut<'_>,
255) -> Option<Box<wasmtime_error_t>> {
256 crate::handle_result(context.gc(None), |()| {})
257}
258
259#[unsafe(no_mangle)]
260pub extern "C" fn wasmtime_context_set_fuel(

Callers 3

mainFunction · 0.85
mainFunction · 0.85
gcMethod · 0.85

Calls 2

handle_resultFunction · 0.85
gcMethod · 0.45

Tested by

no test coverage detected