Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ wasmtime_sharedmemory_size
Function
wasmtime_sharedmemory_size
crates/c-api/src/sharedmemory.rs:49–51 ·
view source on GitHub ↗
(mem: &wasmtime_sharedmemory_t)
Source
from the content-addressed store, hash-verified
47
48
#[unsafe(no_mangle)]
49
pub extern
"C"
fn wasmtime_sharedmemory_size(mem: &wasmtime_sharedmemory_t) -> u64 {
50
mem.size()
51
}
52
53
#[unsafe(no_mangle)]
54
pub extern
"C"
fn wasmtime_sharedmemory_grow(
Callers
nothing calls this directly
Calls
1
size
Method · 0.45
Tested by
no test coverage detected