diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2009-09-27 04:32:20 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2009-09-27 04:32:20 +0400 |
commit | 069d21dddfef3361068afa987cc618f8fdaf48c3 (patch) | |
tree | 60770a4941397178ea254c32f4f1622043b829c8 /source/blender/freestyle/intern/python/BPy_Nature.h | |
parent | 1ed4d4cbfbd3bf4768935b454afba88eb42ea14e (diff) |
Made the Freestyle Python API compatible with Python 3.
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Nature.h')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_Nature.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Nature.h b/source/blender/freestyle/intern/python/BPy_Nature.h index 493a4f78599..d5e1c9c63d4 100644 --- a/source/blender/freestyle/intern/python/BPy_Nature.h +++ b/source/blender/freestyle/intern/python/BPy_Nature.h @@ -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 ); /////////////////////////////////////////////////////////////////////////////////////////// |