[Scummvm-cvs-logs] CVS: scummvm/common scummsys.h,1.58,1.59
Max Horn
fingolfin at users.sourceforge.net
Sat May 14 08:34:12 CEST 2005
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16702/common
Modified Files:
scummsys.h
Log Message:
Removing the last traces of the old custom new/delete operators
Index: scummsys.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/scummsys.h,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- scummsys.h 9 May 2005 21:21:18 -0000 1.58
+++ scummsys.h 14 May 2005 15:33:26 -0000 1.59
@@ -512,21 +512,4 @@
#define STRINGBUFLEN 1024
#endif
-/*
-#if !defined(__PALM_OS__)
- // Initialized operator new
- void * operator new(size_t size);
- void operator delete(void *ptr);
-
- // Temporary hack until we fully remove the new/delete operators:
- // Since 'new' now returns a memory block inited to 0xE7E7E7E7 we might
- // get some invocations of free() with that param. We check for those here.
- // That allows us to set a debugger breakpoint to catch it.
- #ifndef _WIN32_WCE
- #define free(x) free_check(x)
- void free_check(void *ptr);
- #endif
-#endif
-*/
-
#endif
More information about the Scummvm-git-logs
mailing list