removed duplicate functionality, macro's and functions existed to check a PyObjects type, now only use macro's

This commit is contained in:
Campbell Barton
2007-03-15 01:09:14 +00:00
parent a567e43628
commit ee5dc4d0bf
66 changed files with 54 additions and 319 deletions

View File

@@ -402,12 +402,6 @@ PyObject *Font_CreatePyObject( struct VFont * font )
return ( ( PyObject * ) blen_font );
}
/*--------------- Font_CheckPyObject--------------------------------*/
int Font_CheckPyObject( PyObject * py_obj )
{
return ( py_obj->ob_type == &Font_Type );
}
/*--------------- Font_FromPyObject---------------------------------*/
struct VFont *Font_FromPyObject( PyObject * py_obj )
{