| 326 | } |
| 327 | |
| 328 | size_t zmalloc_used_memory(void) { |
| 329 | size_t um; |
| 330 | atomicGet(used_memory,um); |
| 331 | return um; |
| 332 | } |
| 333 | |
| 334 | void zmalloc_set_oom_handler(void (*oom_handler)(size_t)) { |
| 335 | zmalloc_oom_handler = oom_handler; |
no outgoing calls
no test coverage detected