diff options
author | Jacques Guignot <guignot@wanadoo.fr> | 2004-06-14 01:26:50 +0400 |
---|---|---|
committer | Jacques Guignot <guignot@wanadoo.fr> | 2004-06-14 01:26:50 +0400 |
commit | 9b2626f232eacf59a3a1f821aa470b0d42ba235e (patch) | |
tree | d87b66bbf33dc06f98302aec9eb4a5cfda50b1ac /source/blender/python/api2_2x/bpy_types.h | |
parent | e06fba8a1d01e517e5d15e39e9848adbf9284fdd (diff) |
added a new function to the Metaball module, (tks Jiri!) : getMetaElemList
added a new class : metaelem class
Diffstat (limited to 'source/blender/python/api2_2x/bpy_types.h')
-rw-r--r-- | source/blender/python/api2_2x/bpy_types.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/bpy_types.h b/source/blender/python/api2_2x/bpy_types.h index 4e02eba6b1c..7defd9fbc47 100644 --- a/source/blender/python/api2_2x/bpy_types.h +++ b/source/blender/python/api2_2x/bpy_types.h @@ -109,6 +109,21 @@ typedef struct BPy_Metaball; /*****************************************************************************/ +/* Metaelem Data */ +/*****************************************************************************/ +extern PyTypeObject Metaelem_Type; + +#define BPy_Metaelem_Check(v) ((v)->ob_type==&Metaelem_Type) + +/* Python BPy_Metaelem structure definition */ +typedef struct +{ + PyObject_HEAD /* required py macro */ + MetaElem * metaelem; +} +BPy_Metaelem; + +/*****************************************************************************/ /* Effect Data */ /*****************************************************************************/ extern PyTypeObject Effect_Type; |