[Python-checkins] r46402 - sandbox/trunk/hotbuffer/Modules/_hotbuf.c

bob.ippolito python-checkins at python.org
Fri May 26 21:30:54 CEST 2006


Author: bob.ippolito
Date: Fri May 26 21:30:54 2006
New Revision: 46402

Modified:
   sandbox/trunk/hotbuffer/Modules/_hotbuf.c
Log:
python 2.4 fix

Modified: sandbox/trunk/hotbuffer/Modules/_hotbuf.c
==============================================================================
--- sandbox/trunk/hotbuffer/Modules/_hotbuf.c	(original)
+++ sandbox/trunk/hotbuffer/Modules/_hotbuf.c	Fri May 26 21:30:54 2006
@@ -20,9 +20,7 @@
 #define writebufferproc getwritebufferproc
 #define charbufferproc getcharbufferproc
 #define segcountproc getsegcountproc
-#ifndef Py_LOCAL(rval)
-#define Py_LOCAL static rval
-#endif
+#define Py_LOCAL(type) static type
 #endif
 
 #define STRINGLIB_CHAR char


More information about the Python-checkins mailing list