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:
authorCampbell Barton <ideasman42@gmail.com>2007-03-15 04:09:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-03-15 04:09:14 +0300
commitee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (patch)
treec42b47cc23156ca0e8a03610faf175f9535a5b5d /source/blender/python/api2_2x/Armature.h
parenta567e43628e780b5cc88f0f1aa73eb3111eab0f5 (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/Armature.h')
-rw-r--r--source/blender/python/api2_2x/Armature.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/Armature.h b/source/blender/python/api2_2x/Armature.h
index c441bdc5f83..7f543e375a1 100644
--- a/source/blender/python/api2_2x/Armature.h
+++ b/source/blender/python/api2_2x/Armature.h
@@ -35,8 +35,8 @@
#include "DNA_armature_types.h"
//-------------------TYPE CHECKS---------------------------------
-#define ArmatureObject_Check(v) ((v)->ob_type == &Armature_Type)
-#define BonesDictObject_Check(v) ((v)->ob_type == &BonesDict_Type)
+#define BPy_Armature_Check(v) ((v)->ob_type == &Armature_Type)
+#define BPy_BonesDict_Check(v) ((v)->ob_type == &BonesDict_Type)
//-------------------MODULE INIT---------------------------------
PyObject *Armature_Init( void );
//-------------------TYPEOBJECT----------------------------------
@@ -65,7 +65,6 @@ struct bArmature *PyArmature_AsArmature(BPy_Armature *py_armature);
PyObject * Armature_RebuildEditbones(PyObject *pyarmature);
PyObject *Armature_RebuildBones(PyObject *pyarmature);
-int Armature_CheckPyObject( PyObject * pyobj );
struct bArmature *Armature_FromPyObject( PyObject * py_obj );
#endif