20 #ifndef FASTUIDRAW_FASTUIDRAW_MEMORY_HPP 21 #define FASTUIDRAW_FASTUIDRAW_MEMORY_HPP 39 #define FASTUIDRAWnew \ 40 ::new(__FILE__, __LINE__) 49 #define FASTUIDRAWdelete(ptr) \ 51 fastuidraw::memory::check_object_exists(ptr, __FILE__, __LINE__); \ 52 fastuidraw::memory::call_dtor(ptr); \ 53 fastuidraw::memory::free_implement(ptr, __FILE__, __LINE__); \ 62 #define FASTUIDRAWmalloc(size) \ 63 fastuidraw::memory::malloc_implement(size, __FILE__, __LINE__) 73 #define FASTUIDRAWcalloc(nmemb, size) \ 74 fastuidraw::memory::calloc_implement(nmemb, size, __FILE__, __LINE__) 84 #define FASTUIDRAWrealloc(ptr, size) \ 85 fastuidraw::memory::realloc_implement(ptr, size, __FILE__, __LINE__) 93 #define FASTUIDRAWfree(ptr) \ 94 fastuidraw::memory::free_implement(ptr, __FILE__, __LINE__) file fastuidraw_memory_private.hpp