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>2011-11-03 17:10:37 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-03 17:10:37 +0400
commitd210703bcaf89014495f761797ae50f362394697 (patch)
treee4a4eeaf57f5fc67e607e7d597c25b21677b7da1 /source/gameengine/Ketsji/KX_PythonSeq.h
parent0e51c9014c6a1cbdfe916edf79d1ca05d796e1fd (diff)
use Py_TYPE macro (no functional changes)
Diffstat (limited to 'source/gameengine/Ketsji/KX_PythonSeq.h')
-rw-r--r--source/gameengine/Ketsji/KX_PythonSeq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/Ketsji/KX_PythonSeq.h b/source/gameengine/Ketsji/KX_PythonSeq.h
index 6e9cf9a36aa..1c2d2869be0 100644
--- a/source/gameengine/Ketsji/KX_PythonSeq.h
+++ b/source/gameengine/Ketsji/KX_PythonSeq.h
@@ -51,8 +51,8 @@ enum KX_PYGENSEQ_TYPE {
/* The Main PyType Object defined in Main.c */
extern PyTypeObject KX_PythonSeq_Type;
-#define BPy_KX_PythonSeq_Check(v) \
- ((v)->ob_type == &KX_PythonSeq_Type)
+#define BPy_KX_PythonSeq_Check(obj) \
+ (Py_TYPE(obj) == &KX_PythonSeq_Type)
typedef struct {
PyObject_VAR_HEAD