Made the Freestyle Python API compatible with Python 3.
[blender.git] / source / blender / freestyle / intern / python / UnaryFunction1D / BPy_UnaryFunction1DVectorViewShape.h
index 492129c2b9aa52e3e22bbab736cb1da49ed37753..e2321a6107faffafcba5ee6271b0defd067b991d 100644 (file)
@@ -25,7 +25,7 @@ typedef struct {
 } BPy_UnaryFunction1DVectorViewShape;
 
 /*---------------------------Python BPy_UnaryFunction1DVectorViewShape visible prototypes-----------*/
-PyMODINIT_FUNC UnaryFunction1DVectorViewShape_Init( PyObject *module );
+int UnaryFunction1DVectorViewShape_Init( PyObject *module );
 
 
 ///////////////////////////////////////////////////////////////////////////////////////////