added missing operator new and operator delete
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1404 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
|
||||
// System Includes -------------------------------------------------------------
|
||||
#include <GameSoundDefs.h>
|
||||
#include <new>
|
||||
|
||||
// Project Includes ------------------------------------------------------------
|
||||
|
||||
@@ -75,14 +76,14 @@ public:
|
||||
virtual status_t GetAttributes(gs_attribute * outAttributes,
|
||||
size_t inAttributeCount);
|
||||
|
||||
// void * operator new(size_t size);
|
||||
// void * operator new(size_t size, const nothrow_t &) throw();
|
||||
// void operator delete(void * ptr);
|
||||
//#if !__MWERKS__
|
||||
void * operator new(size_t size);
|
||||
void * operator new(size_t size, const nothrow_t &) throw();
|
||||
void operator delete(void * ptr);
|
||||
#if !__MWERKS__
|
||||
// there's a bug in MWCC under R4.1 and earlier
|
||||
// void operator delete(void * ptr,
|
||||
// const nothrow_t &) throw();
|
||||
//#endif
|
||||
void operator delete(void * ptr,
|
||||
const nothrow_t &) throw();
|
||||
#endif
|
||||
|
||||
static status_t SetMemoryPoolSize(size_t in_poolSize);
|
||||
static status_t LockMemoryPool(bool in_lockInCore);
|
||||
|
||||
Reference in New Issue
Block a user