diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-03-15 04:09:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-03-15 04:09:14 +0300 |
commit | ee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (patch) | |
tree | c42b47cc23156ca0e8a03610faf175f9535a5b5d /source/blender/python/api2_2x/Metaball.c | |
parent | a567e43628e780b5cc88f0f1aa73eb3111eab0f5 (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/Metaball.c')
-rw-r--r-- | source/blender/python/api2_2x/Metaball.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/python/api2_2x/Metaball.c b/source/blender/python/api2_2x/Metaball.c index 04a1be46485..ba6e0364e59 100644 --- a/source/blender/python/api2_2x/Metaball.c +++ b/source/blender/python/api2_2x/Metaball.c @@ -544,14 +544,6 @@ PyObject *Metaball_Init( void ) return submodule; } - - -int Metaball_CheckPyObject( PyObject * pyobj ) -{ - return ( pyobj->ob_type == &Metaball_Type ); -} - - MetaBall *Metaball_FromPyObject( PyObject * pyobj ) { return ( ( BPy_Metaball * ) pyobj )->metaball; |