| 337 | } |
| 338 | |
| 339 | mi_decl_nodiscard mi_decl_restrict void* mi_heap_mallocn(mi_heap_t* heap, size_t count, size_t size) mi_attr_noexcept { |
| 340 | size_t total; |
| 341 | if (mi_count_size_overflow(count, size, &total)) return NULL; |
| 342 | return mi_heap_malloc(heap, total); |
| 343 | } |
| 344 | |
| 345 | |
| 346 | // Expand (or shrink) in place (or fail) |
nothing calls this directly
no test coverage detected