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

Method make

src/wasm-v8.cc:111–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109#endif
110
111 void make(category_t i, void* ptr, cardinality_t j = OWN, size_t n = 1) {
112#ifdef WASM_API_DEBUG
113#ifdef WASM_API_DEBUG_LOG
114 if (ptr) {
115 std::clog << "[make] " << ptr
116 << " wasm::" << left[j] << name[i] << right[j] << std::endl;
117 }
118#endif
119 made[i][j] += n;
120#endif
121 }
122
123 void free(category_t i, void* ptr, cardinality_t j = OWN, size_t n = 1) {
124#ifdef WASM_API_DEBUG

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected