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_IntegrationType.h | |
parent | 1ed4d4cbfbd3bf4768935b454afba88eb42ea14e (diff) |
Made the Freestyle Python API compatible with Python 3.
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_IntegrationType.h')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_IntegrationType.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_IntegrationType.h b/source/blender/freestyle/intern/python/BPy_IntegrationType.h index a31fe959996..176d8750c45 100644 --- a/source/blender/freestyle/intern/python/BPy_IntegrationType.h +++ b/source/blender/freestyle/intern/python/BPy_IntegrationType.h @@ -15,14 +15,9 @@ extern PyTypeObject IntegrationType_Type; #define BPy_IntegrationType_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &IntegrationType_Type) ) -/*---------------------------Python BPy_IntegrationType structure definition----------*/ -typedef struct { - PyIntObject i; -} BPy_IntegrationType; - /*---------------------------Python BPy_IntegrationType visible prototypes-----------*/ -PyMODINIT_FUNC IntegrationType_Init( PyObject *module ); +int IntegrationType_Init( PyObject *module ); /////////////////////////////////////////////////////////////////////////////////////////// |