|
12345678910111213141516171819202122232425262728 |
- #include "new.h"
-
- void * operator new(size_t size)
- {
- return malloc(size);
- }
-
- void * operator new[](size_t size)
- {
- return malloc(size);
- }
-
- void operator delete(void * ptr)
- {
- free(ptr);
- }
-
- void operator delete[](void * ptr)
- {
- free(ptr);
- }
-
-
-
-
-
-
-
|