From 069d21dddfef3361068afa987cc618f8fdaf48c3 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Sun, 27 Sep 2009 00:32:20 +0000 Subject: Made the Freestyle Python API compatible with Python 3. --- source/blender/freestyle/intern/python/BPy_Freestyle.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source/blender/freestyle/intern/python/BPy_Freestyle.h') diff --git a/source/blender/freestyle/intern/python/BPy_Freestyle.h b/source/blender/freestyle/intern/python/BPy_Freestyle.h index 4990a2e685d..4a280cee5af 100644 --- a/source/blender/freestyle/intern/python/BPy_Freestyle.h +++ b/source/blender/freestyle/intern/python/BPy_Freestyle.h @@ -9,15 +9,6 @@ extern "C" { #include -extern PyTypeObject Freestyle_Type; - -#define BPy_Freestyle_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &Freestyle_Type) ) - -/*---------------------------Python BPy_Freestyle structure definition----------*/ -typedef struct { - PyObject_HEAD -} BPy_Freestyle; - /*---------------------------Python BPy_Freestyle visible prototypes-----------*/ PyObject *Freestyle_Init( void ); -- cgit v1.2.3