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_Freestyle.h
parent1ed4d4cbfbd3bf4768935b454afba88eb42ea14e (diff)
Made the Freestyle Python API compatible with Python 3.
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Freestyle.h')
-rw-r--r--source/blender/freestyle/intern/python/BPy_Freestyle.h9
1 files changed, 0 insertions, 9 deletions
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 <Python.h>
-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 );