| 338 | } |
| 339 | |
| 340 | size_t zmalloc_used_memory(void) { |
| 341 | size_t um; |
| 342 | atomicGet(used_memory,um); |
| 343 | return um; |
| 344 | } |
| 345 | |
| 346 | void zmalloc_set_oom_handler(void (*oom_handler)(size_t)) { |
| 347 | zmalloc_oom_handler = oom_handler; |
no outgoing calls
no test coverage detected