diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-03-15 04:09:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-03-15 04:09:14 +0300 |
commit | ee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (patch) | |
tree | c42b47cc23156ca0e8a03610faf175f9535a5b5d /source/blender/python/api2_2x/Text3d.h | |
parent | a567e43628e780b5cc88f0f1aa73eb3111eab0f5 (diff) |
removed duplicate functionality, macro's and functions existed to check a PyObjects type, now only use macro's
Diffstat (limited to 'source/blender/python/api2_2x/Text3d.h')
-rw-r--r-- | source/blender/python/api2_2x/Text3d.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Text3d.h b/source/blender/python/api2_2x/Text3d.h index f767f10d9a2..6486278f20d 100644 --- a/source/blender/python/api2_2x/Text3d.h +++ b/source/blender/python/api2_2x/Text3d.h @@ -36,11 +36,12 @@ #include <Python.h> #include "DNA_curve_types.h" +extern PyTypeObject Text3d_Type; + #define BPy_Text3d_Check(v) ((v)->ob_type==&Text3d_Type) typedef Curve Text3d; /*prototypes*/ -int Text3d_CheckPyObject( PyObject * py_obj ); PyObject *Text3d_Init( void ); struct Text3d *Text3d_FromPyObject( PyObject * py_obj ); PyObject *Text3d_CreatePyObject( Text3d* text3d ); |