dmmlib.h 407 B

1234567891011121314151617
  1. #ifndef DMMLIB_H
  2. #include <dmmlib/heap.h>
  3. #include "dmm_config.h"
  4. void * custom_ahmalloc(allocator_t* allocator, heap_t* heap, size_t size);
  5. void custom_ahfree(allocator_t *allocator, heap_t* heap, void *ptr);
  6. #ifndef WITH_MEMORY_SPACE_AWARENESS
  7. void * custom_malloc(size_t size);
  8. void custom_free(void *ptr);
  9. allocator_t systemallocator;
  10. #endif /* WITH_MEMORY_SPACE_AWARENESS */
  11. #endif /* DMMLIB_H */