realloc_uninitialized() is like realloc(), but old memory contents will be undefined after reallocation. (old memory is not preserved in any case)
| 1126 | // realloc_uninitialized() is like realloc(), but old memory contents |
| 1127 | // will be undefined after reallocation. (old memory is not preserved in any case) |
| 1128 | void *emmalloc_realloc_uninitialized(void *ptr, size_t size) { |
| 1129 | return emmalloc_aligned_realloc_uninitialized(ptr, MALLOC_ALIGNMENT, size); |
| 1130 | } |
| 1131 | |
| 1132 | int emmalloc_posix_memalign(void **memptr, size_t alignment, size_t size) { |
| 1133 | assert(memptr); |
nothing calls this directly
no test coverage detected