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

Function print_mutability

example/reflect.c:10–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#define own
9
10void print_mutability(wasm_mutability_t mut) {
11 switch (mut) {
12 case WASM_VAR: printf("var"); break;
13 case WASM_CONST: printf("const"); break;
14 }
15}
16
17void print_limits(const wasm_limits_t* limits) {
18 printf("%ud", limits->min);

Callers 1

print_externtypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected