removed duplicate functionality, macro's and functions existed to check a PyObjects type, now only use macro's
This commit is contained in:
@@ -349,16 +349,6 @@ PyObject *Sound_CreatePyObject( bSound * snd )
|
||||
return ( PyObject * ) py_snd;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Function: Sound_CheckPyObject */
|
||||
/* Description: This function returns true when the given PyObject is of the */
|
||||
/* type Sound. Otherwise it will return false. */
|
||||
/*****************************************************************************/
|
||||
int Sound_CheckPyObject( PyObject * pyobj )
|
||||
{
|
||||
return ( pyobj->ob_type == &Sound_Type );
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Function: Sound_FromPyObject */
|
||||
/* Description: Returns the Blender Sound associated with this object */
|
||||
|
||||
Reference in New Issue
Block a user