Made the Freestyle Python API compatible with Python 3.
[blender.git] / source / blender / freestyle / intern / python / BPy_Nature.h
index 493a4f785999b9eafa79a240ad7422882ed92059..d5e1c9c63d4f2aee3635a01e77ac333f28156226 100644 (file)
@@ -17,12 +17,12 @@ extern PyTypeObject Nature_Type;
 
 /*---------------------------Python BPy_Nature structure definition----------*/
 typedef struct {
-       PyIntObject i;
+       PyLongObject i;
 } BPy_Nature;
 
 /*---------------------------Python BPy_Nature visible prototypes-----------*/
 
-PyMODINIT_FUNC Nature_Init( PyObject *module );
+int Nature_Init( PyObject *module );
 
 ///////////////////////////////////////////////////////////////////////////////////////////