clean up some warnings. no executable changes.

This commit is contained in:
Stephen Swaney
2006-12-01 17:53:04 +00:00
parent db5d58aaa2
commit e3b72755cc
3 changed files with 6 additions and 4 deletions

View File

@@ -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;
}
}

View File

@@ -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 */

View File

@@ -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':