change uiButGetStrInfo() to use a trailing NULL arg rather then passing the number of args as an arg.

This commit is contained in:
2012-12-02 04:51:15 +00:00
parent 9865ee7637
commit f7f4148b40
8 changed files with 26 additions and 17 deletions

View File

@@ -74,7 +74,7 @@ void BaseMathObject_dealloc(BaseMathObject * self);
PyMODINIT_FUNC PyInit_mathutils(void);
int EXPP_FloatsAreEqual(float A, float B, int floatSteps);
int EXPP_VectorsAreEqual(float *vecA, float *vecB, int size, int floatSteps);
int EXPP_VectorsAreEqual(const float *vecA, const float *vecB, int size, int floatSteps);
#define Py_NEW 1
#define Py_WRAP 2