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

Function wasmtime_memory_size

crates/c-api/src/memory.rs:123–125  ·  view source on GitHub ↗
(store: WasmtimeStoreContext<'_>, mem: &Memory)

Source from the content-addressed store, hash-verified

121
122#[unsafe(no_mangle)]
123pub extern "C" fn wasmtime_memory_size(store: WasmtimeStoreContext<'_>, mem: &Memory) -> u64 {
124 mem.size(store)
125}
126
127#[unsafe(no_mangle)]
128pub extern "C" fn wasmtime_memory_grow(

Callers 3

mainFunction · 0.85
mainFunction · 0.85
sizeMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected