| 1043 | // --- Context heap --- |
| 1044 | |
| 1045 | void * das_context_allocate ( das_context * context, uint32_t size ) { |
| 1046 | if ( !size ) return nullptr; |
| 1047 | return ((Context *)context)->allocate(size, nullptr); |
| 1048 | } |
| 1049 | |
| 1050 | void * das_context_reallocate ( das_context * context, void * ptr, uint32_t old_size, uint32_t new_size ) { |
| 1051 | // The runtime allocator's reallocate path doesn't handle new_size==0 — it |
no test coverage detected