MCPcopy Create free account
hub / github.com/WebAssembly/wasm-c-api / print_limits

Function print_limits

example/reflect.c:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17void print_limits(const wasm_limits_t* limits) {
18 printf("%ud", limits->min);
19 if (limits->max < wasm_limits_max_default) printf(" %ud", limits->max);
20}
21
22void print_valtype(const wasm_valtype_t* type) {
23 switch (wasm_valtype_kind(type)) {

Callers 1

print_externtypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected