aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flsupport.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-04-18 22:05:53 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-04-18 22:05:53 +0000
commit213852915e08d6435b451c06045d0c6f5f611467 (patch)
treefd4024a213a148f0a6dc2c91a3ada453226002cd /externals/grill/flext/source/flsupport.h
parent14719fd1f8cc2384398168788357930e29bde5c4 (diff)
fixed typo
fixed bugs in TableMaps fixes for OSX restructured TableMap type (doesn't own pointers any more) svn path=/trunk/; revision=2782
Diffstat (limited to 'externals/grill/flext/source/flsupport.h')
-rw-r--r--externals/grill/flext/source/flsupport.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/externals/grill/flext/source/flsupport.h b/externals/grill/flext/source/flsupport.h
index ead75804..e38697f4 100644
--- a/externals/grill/flext/source/flsupport.h
+++ b/externals/grill/flext/source/flsupport.h
@@ -56,6 +56,12 @@ public:
inline void *operator new(size_t,void *p) { return p; }
inline void operator delete(void *,void *) {}
+#ifdef FLEXT_DEBUGMEM
+ static bool MemCheck(void *blk);
+#else
+ static bool MemCheck(void *) { return true; }
+#endif
+
#ifndef __MRC__ // doesn't allow new[] overloading?!
inline void *operator new[](size_t bytes) { return operator new(bytes); }
inline void operator delete[](void *blk) { operator delete(blk); }