Reallocate but free `p` on errors
| 469 | |
| 470 | // Reallocate but free `p` on errors |
| 471 | mi_decl_nodiscard void* mi_heap_reallocf(mi_heap_t* heap, void* p, size_t newsize) mi_attr_noexcept { |
| 472 | return mi_theap_reallocf(_mi_heap_theap(heap), p, newsize); |
| 473 | } |
| 474 | |
| 475 | mi_decl_nodiscard void* mi_heap_rezalloc(mi_heap_t* heap, void* p, size_t newsize) mi_attr_noexcept { |
| 476 | return mi_theap_rezalloc(_mi_heap_theap(heap), p, newsize); |
nothing calls this directly
no test coverage detected