wip: adding mi_remap; first working version

This commit is contained in:
daanx 2023-04-26 16:06:36 -07:00
parent be2f35641a
commit 0c0a753aa0
6 changed files with 74 additions and 28 deletions

View file

@ -229,6 +229,7 @@ static void test_remap(void) {
p = mi_remap(p, size + inc);
memset(p + size, i, inc);
size += inc;
printf("%3d: increased to size %zu\n", i, size);
}
mi_free(p);
}