Changeset e03d7b in git for omalloc/omallocClass.h
- Timestamp:
- Apr 10, 2015, 2:26:57 PM (9 years ago)
- Branches:
- (u'spielwiese', '873fc1222e995d7cb33f79d8f1792ce418c8c72c')
- Children:
- aeb760bbbad0ff816c36fdb5a66d5481d76a769c
- Parents:
- 76f52597f7be2cdc6a83d6956f788e3bb342a2f9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
omalloc/omallocClass.h
r76f525 re03d7b 13 13 #include <new> 14 14 #include <stdlib.h> 15 #include <omalloc/omalloc.h> 15 16 16 17 class omallocClass … … 23 24 throw (std::bad_alloc) 24 25 #endif 25 ; 26 { 27 void* addr; 28 omTypeAlloc(void*, addr, size); 29 return addr; 30 } 31 26 32 void operator delete ( void* block ) 27 33 #ifndef __GNUC__ 28 34 throw () 29 35 #endif 30 ; 36 { 37 omFree( block ); 38 } 39 31 40 32 41 void* operator new[] ( size_t size )
Note: See TracChangeset
for help on using the changeset viewer.