* The heap structure itself is an opaque object that shouldnt be messed with.
*/
typedef struct mdesc s_xbt_mheap_t;
* The heap structure itself is an opaque object that shouldnt be messed with.
*/
typedef struct mdesc s_xbt_mheap_t;
/* Allocate SIZE bytes of memory (and memset it to 0). */
XBT_PUBLIC void* mmalloc(xbt_mheap_t md, size_t size);
/* Allocate SIZE bytes of memory (and don't mess with it) */
/* Allocate SIZE bytes of memory (and memset it to 0). */
XBT_PUBLIC void* mmalloc(xbt_mheap_t md, size_t size);
/* Allocate SIZE bytes of memory (and don't mess with it) */
/* Re-allocate the previously allocated block in void*, making the new block SIZE bytes long. */
XBT_PUBLIC void* mrealloc(xbt_mheap_t md, void* ptr, size_t size);
/* Re-allocate the previously allocated block in void*, making the new block SIZE bytes long. */
XBT_PUBLIC void* mrealloc(xbt_mheap_t md, void* ptr, size_t size);