- accidentally removed a macro for returning Py_None for python 2.3

This commit is contained in:
2005-11-22 19:34:28 +00:00
parent fe29a3c64b
commit 9664b7924f

View File

@@ -44,6 +44,15 @@
#define Py_WRAP 1024
#define Py_NEW 2048
/*
Py_RETURN_NONE
Python 2.4 macro.
defined here until we switch to 2.4
*/
#ifndef Py_RETURN_NONE
#define Py_RETURN_NONE Py_INCREF( Py_None ); return Py_None
#endif
int EXPP_FloatsAreEqual(float A, float B, int floatSteps);
int EXPP_VectorsAreEqual(float *vecA, float *vecB, int size, int floatSteps);