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

Function wasm_memory_data_size

crates/c-api/src/memory.rs:70–72  ·  view source on GitHub ↗
(m: &wasm_memory_t)

Source from the content-addressed store, hash-verified

68
69#[unsafe(no_mangle)]
70pub unsafe extern "C" fn wasm_memory_data_size(m: &wasm_memory_t) -> usize {
71 m.memory().data_size(m.ext.store.context())
72}
73
74#[unsafe(no_mangle)]
75pub unsafe extern "C" fn wasm_memory_size(m: &wasm_memory_t) -> wasm_memory_pages_t {

Callers

nothing calls this directly

Calls 3

data_sizeMethod · 0.45
memoryMethod · 0.45
contextMethod · 0.45

Tested by

no test coverage detected