| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected