[PyObjC-svn] r2399 - trunk/pyobjc/pyobjc-core/Modules/objc

[email protected] Wed, 03 Feb 2010 15:37:36 -0600
Newsgroups gmane.comp.python.pyobjc.cvs
Message-ID <[email protected]>
Author: ronaldoussoren
Date: Wed Feb  3 15:37:36 2010
New Revision: 2399

Log:
Fix prototype for a CObject cleanup function.


Modified:
   trunk/pyobjc/pyobjc-core/Modules/objc/block_support.m

Modified: trunk/pyobjc/pyobjc-core/Modules/objc/block_support.m
==============================================================================
--- trunk/pyobjc/pyobjc-core/Modules/objc/block_support.m	(original)
+++ trunk/pyobjc/pyobjc-core/Modules/objc/block_support.m	Wed Feb  3 15:37:36 2010
@@ -298,7 +298,7 @@
 }
 
 #if PY_VERSION_HEX < 0x03000000
-static void PyObjCBlock_CleanupCapsule(void* ptr, void* context __attribute__((__unused__)))
+static void PyObjCBlock_CleanupCapsule(void* ptr)
 {
 	PyObjCFFI_FreeBlockFunction(ptr);
 }

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com