change uiButGetStrInfo() to use a trailing NULL arg rather then passing the number of args as an arg.
This commit is contained in:
@@ -302,7 +302,7 @@ int EXPP_FloatsAreEqual(float af, float bf, int maxDiff)
|
||||
|
||||
/*---------------------- EXPP_VectorsAreEqual -------------------------
|
||||
* Builds on EXPP_FloatsAreEqual to test vectors */
|
||||
int EXPP_VectorsAreEqual(float *vecA, float *vecB, int size, int floatSteps)
|
||||
int EXPP_VectorsAreEqual(const float *vecA, const float *vecB, int size, int floatSteps)
|
||||
{
|
||||
int x;
|
||||
for (x = 0; x < size; x++) {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user