| 80 | } |
| 81 | |
| 82 | extern "C" auto realloc(void* ptr, size_t new_size) -> void* { |
| 83 | if (allocator) { |
| 84 | return allocator->realloc(ptr, new_size); |
| 85 | } |
| 86 | return nullptr; |
| 87 | } |
| 88 | |
| 89 | extern "C" auto aligned_alloc(size_t alignment, size_t size) -> void* { |
| 90 | if (allocator) { |
nothing calls this directly
no outgoing calls
no test coverage detected