Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2009-09-27 04:32:20 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2009-09-27 04:32:20 +0400
commit069d21dddfef3361068afa987cc618f8fdaf48c3 (patch)
tree60770a4941397178ea254c32f4f1622043b829c8 /source/blender/freestyle/intern/python/BPy_Nature.h
parent1ed4d4cbfbd3bf4768935b454afba88eb42ea14e (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.h4
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 );
///////////////////////////////////////////////////////////////////////////////////////////