[PD-cvs] externals/grill/flext/source flsupport.h,1.56,1.57
xovo at users.sourceforge.net
xovo at users.sourceforge.net
Thu Dec 4 04:32:59 CET 2003
- Previous message: [PD-cvs] externals/grill/flext flext.cw,1.57,1.58
- Next message: [PD-cvs] externals/grill/pool data.cpp,1.10,1.11 main.cpp,1.9,1.10 pool.cpp,1.11,1.12 pool.dtd,1.1,1.2 pool.h,1.8,1.9 pool.pd,1.8,1.9 readme.txt,1.12,1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/externals/grill/flext/source
In directory sc8-pr-cvs1:/tmp/cvs-serv6759/source
Modified Files:
flsupport.h
Log Message:
""
Index: flsupport.h
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/source/flsupport.h,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** flsupport.h 29 Nov 2003 03:32:48 -0000 1.56
--- flsupport.h 4 Dec 2003 03:32:57 -0000 1.57
***************
*** 17,21 ****
#include "flstdc.h"
!
class FLEXT_SHARE FLEXT_CLASSDEF(flext_root);
--- 17,21 ----
#include "flstdc.h"
! #include <new>
class FLEXT_SHARE FLEXT_CLASSDEF(flext_root);
***************
*** 66,77 ****
};
// define global new/delete operators
! inline void *operator new(size_t bytes) { return flext_root::operator new(bytes); }
! inline void operator delete(void *blk) { flext_root::operator delete(blk); }
#ifndef __MRC__ // doesn't allow new[] overloading?!
! inline void *operator new[](size_t bytes) { return flext_root::operator new[](bytes); }
! inline void operator delete[](void *blk) { flext_root::operator delete[](blk); }
#endif
-
--- 66,84 ----
};
+ #ifndef _MSC_VER
+ #define NEWTHROW throw(std::bad_alloc)
+ #define DELTHROW throw()
+ #else
+ #define NEWTHROW
+ #define DELTHROW
+ #endif
+
// define global new/delete operators
! inline void *operator new(size_t bytes) NEWTHROW { return flext_root::operator new(bytes); }
! inline void operator delete(void *blk) DELTHROW { flext_root::operator delete(blk); }
#ifndef __MRC__ // doesn't allow new[] overloading?!
! inline void *operator new[](size_t bytes) NEWTHROW { return flext_root::operator new[](bytes); }
! inline void operator delete[](void *blk) DELTHROW { flext_root::operator delete[](blk); }
#endif
- Previous message: [PD-cvs] externals/grill/flext flext.cw,1.57,1.58
- Next message: [PD-cvs] externals/grill/pool data.cpp,1.10,1.11 main.cpp,1.9,1.10 pool.cpp,1.11,1.12 pool.dtd,1.1,1.2 pool.h,1.8,1.9 pool.pd,1.8,1.9 readme.txt,1.12,1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list