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/Lattice.h')
-rw-r--r--source/blender/python/api2_2x/Lattice.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Lattice.h b/source/blender/python/api2_2x/Lattice.h
index 36c69d67215..fb47c2dd2e4 100644
--- a/source/blender/python/api2_2x/Lattice.h
+++ b/source/blender/python/api2_2x/Lattice.h
@@ -39,6 +39,8 @@
/* The Group PyTypeObject defined in Lattice.c */
extern PyTypeObject Lattice_Type;
+#define BPy_Lattice_Check(v) ((v)->ob_type == &Lattice_Type)
+
/*****************************************************************************/
/* Python BPy_Lattice structure definition: */
/*****************************************************************************/
@@ -54,6 +56,5 @@ typedef struct {
PyObject *Lattice_Init( void );
PyObject *Lattice_CreatePyObject( Lattice * lt );
Lattice *Lattice_FromPyObject( PyObject * pyobj );
-int Lattice_CheckPyObject( PyObject * pyobj );
#endif /* EXPP_LATTICE_H */