Made the Freestyle Python API compatible with Python 3.
[blender.git] / source / blender / freestyle / intern / python / BPy_ViewShape.h
index fa14f6ff48041c3ac367b059214bf87d5e1d39e5..e88ab090b4726bf01ab851c47543d345aec62dc4 100644 (file)
@@ -24,7 +24,7 @@ typedef struct {
 
 /*---------------------------Python BPy_ViewShape visible prototypes-----------*/
 
-PyMODINIT_FUNC ViewShape_Init( PyObject *module );
+int ViewShape_Init( PyObject *module );
 
 ///////////////////////////////////////////////////////////////////////////////////////////