removed duplicate functionality, macro's and functions existed to check a PyObjects type, now only use macro's
This commit is contained in:
@@ -405,12 +405,6 @@ PyObject *Action_CreatePyObject( struct bAction * act )
|
||||
return ( ( PyObject * ) blen_action );
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
int Action_CheckPyObject( PyObject * py_obj )
|
||||
{
|
||||
return ( py_obj->ob_type == &Action_Type );
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
struct bAction *Action_FromPyObject( PyObject * py_obj )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user