- accidentally removed a macro for returning Py_None for python 2.3
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user