diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/pso/THeap.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/pso/THeap.h b/include/pso/THeap.h index 6a94dee..1359369 100644 --- a/include/pso/THeap.h +++ b/include/pso/THeap.h @@ -6,9 +6,6 @@ #include <global_types.h> #include <stdlib.h> -void heap_xfree(void *ptr); -void *heap_xmalloc(size_t size); - extern THeap *obj_heap; extern THeap *alt_heap; @@ -26,8 +23,8 @@ public: public: THeap(size_t size, int align); ~THeap(); - void *operator new(size_t size) { return heap_xmalloc(size); }; - void operator delete(void *ptr) { heap_xfree(ptr); }; + void *operator new(size_t size); + void operator delete(void *ptr); void *heap_alloc(size_t size); void *heap_zalloc(size_t size); void heap_free(void *ptr); |