int type;
size_t block, blocks, oldlimit;
+ /* Only keep real realloc and hidden malloc and free to the relevant functions */
if (size == 0) {
mfree(mdp, ptr);
return mmalloc(mdp, 0);
return mmalloc(mdp, size);
}
-
//printf("(%s)realloc %p to %d...",xbt_thread_self_name(),ptr,(int)size);
if ((char *) ptr < (char *) mdp->heapbase || BLOCK(ptr) > mdp->heapsize) {