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:
Diffstat (limited to 'source/blender/python/api2_2x/logic.h')
-rw-r--r--source/blender/python/api2_2x/logic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/logic.h b/source/blender/python/api2_2x/logic.h
index 74478b44acf..013c26af4f2 100644
--- a/source/blender/python/api2_2x/logic.h
+++ b/source/blender/python/api2_2x/logic.h
@@ -38,6 +38,8 @@
extern PyTypeObject property_Type;
+#define BPy_Property_Check(v) ((v)->ob_type == &property_Type)
+
//--------------------------Python BPy_Property structure definition.----
typedef struct {
PyObject_HEAD
@@ -51,7 +53,6 @@ typedef struct {
//------------------------------visible prototypes-----------------------
PyObject *Property_CreatePyObject( struct bProperty *prop );
-int Property_CheckPyObject( PyObject * py_obj );
bProperty *Property_FromPyObject( PyObject * py_obj );
PyObject *newPropertyObject( char *name, PyObject * data, int type );
int updatePyProperty( BPy_Property * self );