|
From: <ag...@us...> - 2011-01-12 12:04:45
|
Revision: 1878
http://zoolib.svn.sourceforge.net/zoolib/?rev=1878&view=rev
Author: agreen
Date: 2011-01-12 12:04:39 +0000 (Wed, 12 Jan 2011)
Log Message:
-----------
Remove macro that looked like it would be useful, but which I never used.
Modified Paths:
--------------
trunk/zoolib/source/cxx/zoolib/ZObjC.h
Modified: trunk/zoolib/source/cxx/zoolib/ZObjC.h
===================================================================
--- trunk/zoolib/source/cxx/zoolib/ZObjC.h 2011-01-12 12:03:19 UTC (rev 1877)
+++ trunk/zoolib/source/cxx/zoolib/ZObjC.h 2011-01-12 12:04:39 UTC (rev 1878)
@@ -25,24 +25,6 @@
#if ZCONFIG_SPI_Enabled(Cocoa)
-// The DESTROY macro from renaissance is useful. At some point, if we have
-// renaissance available, then we'll pull the definition from there.
-#ifndef DESTROY
-# ifdef __OBJC__
-# define DESTROY(a) do { if (a) {[a release]; a = 0; } } while(0)
-# else
-# define DESTROY(a) $ONLY_USE_IN_OBJECTIVE_C$
-# endif
-#endif
-
-#ifndef AUTORELEASE
-# ifdef __OBJC__
-# define AUTORELEASE(a) ([a autorelease])
-# else
-# define AUTORELEASE(a) $ONLY_USE_IN_OBJECTIVE_C$
-# endif
-#endif
-
#ifdef __cplusplus
#ifdef __OBJC__
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|