Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WebAssembly/wasm-c-api
/ wasm_memory_size
Function
wasm_memory_size
src/wasm-c.cc:929–931 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
927
}
928
929
wasm_memory_pages_t wasm_memory_size(const wasm_memory_t* memory) {
930
return memory->size();
931
}
932
933
bool wasm_memory_grow(wasm_memory_t* memory, wasm_memory_pages_t delta) {
934
return memory->grow(delta);
Callers
1
main
Function · 0.85
Calls
1
size
Method · 0.45
Tested by
no test coverage detected