Made the Freestyle Python API compatible with Python 3.
[blender.git] / source / blender / freestyle / intern / python / UnaryFunction1D / BPy_UnaryFunction1DVoid.h
index 34615bb4b27aa009e0b446707f18ba034ff08812..af907aeec84a8343576194609f1fa7e8dc91532b 100644 (file)
@@ -22,7 +22,7 @@ typedef struct {
 } BPy_UnaryFunction1DVoid;
 
 /*---------------------------Python BPy_UnaryFunction1DVoid visible prototypes-----------*/
-PyMODINIT_FUNC UnaryFunction1DVoid_Init( PyObject *module );
+int UnaryFunction1DVoid_Init( PyObject *module );
 
 
 ///////////////////////////////////////////////////////////////////////////////////////////