| 87 | } |
| 88 | |
| 89 | extern "C" auto aligned_alloc(size_t alignment, size_t size) -> void* { |
| 90 | if (allocator) { |
| 91 | return allocator->aligned_alloc(alignment, size); |
| 92 | } |
| 93 | return nullptr; |
| 94 | } |
| 95 | |
| 96 | extern "C" auto aligned_free(void* ptr) -> void { |
| 97 | if (allocator) { |
no outgoing calls
no test coverage detected