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

[email protected] Tue, 02 Feb 2010 04:05:28 -0600
Newsgroups gmane.comp.python.pyobjc.cvs
Message-ID <[email protected]>
Author: ronaldoussoren
Date: Tue Feb  2 04:05:24 2010
New Revision: 2393

Log:
Fix definition of Py_ARG_SIZE_T.

Thanks to Virgul Durpas for noting the error.


Modified:
   trunk/pyobjc/pyobjc-core/Modules/objc/pyobjc-api.h

Modified: trunk/pyobjc/pyobjc-core/Modules/objc/pyobjc-api.h
==============================================================================
--- trunk/pyobjc/pyobjc-core/Modules/objc/pyobjc-api.h	(original)
+++ trunk/pyobjc/pyobjc-core/Modules/objc/pyobjc-api.h	Tue Feb  2 04:05:24 2010
@@ -58,12 +58,12 @@
 #if (PY_VERSION_HEX < 0x02050000)
 typedef int Py_ssize_t;
 #define PY_FORMAT_SIZE_T ""
-#define Py_ARG_SIZE_T "n"
+#define Py_ARG_SIZE_T "i"
 #define PY_SSIZE_T_MAX INT_MAX
 
 #else
 
-#define Py_ARG_SIZE_T "i"
+#define Py_ARG_SIZE_T "n"
 #endif
 #endif
 

------------------------------------------------------------------------------
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