remove non-standard __FUNCTION__ use

This commit is contained in:
Ken Hughes
2005-10-04 20:27:25 +00:00
parent b6817b55e8
commit 5f6dbf846b

View File

@@ -242,8 +242,7 @@ static PyObject *MCol_getAttr( BPy_MCol * self, void *type )
default:
{
char errstr[1024];
sprintf( errstr, "undefined type '%d' in %s", (int)type,
__FUNCTION__ );
sprintf( errstr, "undefined type '%d' in MCol_getAttr", (int)type );
return EXPP_ReturnPyObjError( PyExc_RuntimeError, errstr );
}
}
@@ -280,8 +279,7 @@ static int MCol_setAttr( BPy_MCol * self, PyObject * value, void * type )
default:
{
char errstr[1024];
sprintf( errstr, "undefined type '%d' in %s", (int)type,
__FUNCTION__ );
sprintf( errstr, "undefined type '%d' in MCol_setAttr", (int)type );
return EXPP_ReturnIntError( PyExc_RuntimeError, errstr );
}
}