[PyObjC-svn] r2392 - branches/pyobj-22/pyobjc-core/Modules/objc
[email protected] Tue, 02 Feb 2010 04:04:27 -0600
| Newsgroups | gmane.comp.python.pyobjc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: ronaldoussoren Date: Tue Feb 2 04:04:24 2010 New Revision: 2392 Log: Fix definition of Py_ARG_SIZE_T Modified: branches/pyobj-22/pyobjc-core/Modules/objc/pyobjc-api.h Modified: branches/pyobj-22/pyobjc-core/Modules/objc/pyobjc-api.h ============================================================================== --- branches/pyobj-22/pyobjc-core/Modules/objc/pyobjc-api.h (original) +++ branches/pyobj-22/pyobjc-core/Modules/objc/pyobjc-api.h Tue Feb 2 04:04: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