add malloc_good_size override maacro, see issue #900 and pr #901

This commit is contained in:
Daan 2024-05-19 12:03:55 -07:00
parent 0c4041fa53
commit 7ea7296d3e
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ not accidentally mix pointers from different allocators).
#define reallocf(p,n) mi_reallocf(p,n)
#define malloc_size(p) mi_usable_size(p)
#define malloc_usable_size(p) mi_usable_size(p)
#define malloc_good_size(sz) mi_malloc_good_size(sz)
#define cfree(p) mi_free(p)
#define valloc(n) mi_valloc(n)