aboutsummaryrefslogtreecommitdiff
path: root/externals/grill
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill')
-rw-r--r--externals/grill/flext/changes.txt3
-rw-r--r--externals/grill/flext/source/flsupport.h12
2 files changed, 8 insertions, 7 deletions
diff --git a/externals/grill/flext/changes.txt b/externals/grill/flext/changes.txt
index f48d4a25..113180ef 100644
--- a/externals/grill/flext/changes.txt
+++ b/externals/grill/flext/changes.txt
@@ -1,6 +1,6 @@
flext - C++ layer for Max/MSP and pd (pure data) externals
-Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
+Copyright (c) 2001-2004 Thomas Grill (xovo@gmx.net)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
@@ -15,6 +15,7 @@ Version history:
0.4.6:
- added a text edit window for list attributes
+- finally use global allocator operators (MFC doesn't like but who cares)
0.4.5:
- added some more SIMD functions
diff --git a/externals/grill/flext/source/flsupport.h b/externals/grill/flext/source/flsupport.h
index 3e2b6acd..79122ed2 100644
--- a/externals/grill/flext/source/flsupport.h
+++ b/externals/grill/flext/source/flsupport.h
@@ -2,7 +2,7 @@
flext - C++ layer for Max/MSP and pd (pure data) externals
-Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
+Copyright (c) 2001-2004 Thomas Grill (xovo@gmx.net)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
@@ -69,10 +69,10 @@ public:
//! @} FLEXT_S_MEMORY
};
-// at the moment it's a real problem that global overloading of allocators
-// clashes with MFC (e.g. in vst~)
-// therefore... try to think over it
-#if 0
+
+/************************************************************************/
+// MFC doesn't like global overloading of allocators
+// anyway, who likes MFC
#if !defined(_MSC_VER) && !defined(__BORLANDC__)
#define NEWTHROW throw(std::bad_alloc)
@@ -90,7 +90,7 @@ inline void *operator new[](size_t bytes) NEWTHROW { return flext_root::operator
inline void operator delete[](void *blk) DELTHROW { flext_root::operator delete[](blk); }
#endif
-#endif
+/************************************************************************/
class FLEXT_SHARE FLEXT_CLASSDEF(flext);