| 177 | } |
| 178 | |
| 179 | mi_decl_nodiscard mi_decl_restrict void* mi_heap_calloc_aligned_at(mi_heap_t* heap, size_t count, size_t size, size_t alignment, size_t offset) mi_attr_noexcept { |
| 180 | size_t total; |
| 181 | if (mi_count_size_overflow(count, size, &total)) return NULL; |
| 182 | return mi_heap_zalloc_aligned_at(heap, total, alignment, offset); |
| 183 | } |
| 184 | |
| 185 | mi_decl_nodiscard mi_decl_restrict void* mi_heap_calloc_aligned(mi_heap_t* heap, size_t count, size_t size, size_t alignment) mi_attr_noexcept { |
| 186 | return mi_heap_calloc_aligned_at(heap,count,size,alignment,0); |
no test coverage detected