clean up some warnings. no executable changes.
This commit is contained in:
@@ -50,6 +50,11 @@
|
||||
|
||||
#define SWAP_FLOAT(a,b,tmp) tmp=a; a=b; b=tmp
|
||||
#define eul 0.000001
|
||||
|
||||
/*-- forward declarations -- */
|
||||
static PyObject *M_Geometry_PolyFill( PyObject * self, PyObject * args );
|
||||
static PyObject *M_Geometry_LineIntersect2D( PyObject * self, PyObject * args );
|
||||
|
||||
/*-------------------------DOC STRINGS ---------------------------*/
|
||||
static char M_Geometry_doc[] = "The Blender Geometry module\n\n";
|
||||
static char M_Geometry_PolyFill_doc[] = "(veclist_list) - takes a list of polylines (each point a vector) and returns the point indicies for a polyline filled with triangles";
|
||||
@@ -264,4 +269,4 @@ static PyObject *M_Geometry_LineIntersect2D( PyObject * self, PyObject * args )
|
||||
return newVectorObject(newvec, 2, Py_NEW);
|
||||
}
|
||||
Py_RETURN_NONE;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,5 @@
|
||||
#include "vector.h"
|
||||
|
||||
PyObject *Geometry_Init( void );
|
||||
static PyObject *M_Geometry_PolyFill( PyObject * self, PyObject * args );
|
||||
static PyObject *M_Geometry_LineIntersect2D( PyObject * self, PyObject * args );
|
||||
|
||||
#endif /* EXPP_Geometry_H */
|
||||
|
||||
@@ -107,7 +107,6 @@ static int Map_socketdef(PyObject *self, PyObject *args, void *closure)
|
||||
bNode *node = NULL;
|
||||
BPy_OutputDefMap *out= NULL;
|
||||
BPy_InputDefMap *in= NULL;
|
||||
int pos=0;
|
||||
|
||||
switch((int)closure) {
|
||||
case 'I':
|
||||
|
||||
Reference in New Issue
Block a user