[Gridflow-cvs] [svn] commit: r3813 - /trunk/gridflow.h

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Thu Jun 5 23:42:04 EDT 2008


Author: matju
Date: Thu Jun  5 23:42:04 2008
New Revision: 3813

Log:
buffer allocator interface (for future use... or not)

Modified:
    trunk/gridflow.h

Modified: trunk/gridflow.h
==============================================================================
--- trunk/gridflow.h (original)
+++ trunk/gridflow.h Thu Jun  5 23:42:04 2008
@@ -187,6 +187,9 @@
 ALLOCPREFIX void operator delete[](void*p) throw() {gffree(p);}
 ALLOCPREFIX void operator delete  (void*p, const std::nothrow_t&) throw() {gffree(p);}
 ALLOCPREFIX void operator delete[](void*p, const std::nothrow_t&) throw() {gffree(p);}
+
+#define NEWBUF(T,N) (new T[N])
+#define DELBUF(A) (delete[] A)
 
 #ifdef __WIN32__
 #define INT winINT



More information about the Gridflow-cvs mailing list