diff options
author | Ken Hughes <khughes@pacific.edu> | 2005-10-05 00:27:25 +0400 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2005-10-05 00:27:25 +0400 |
commit | 5f6dbf846b562d9cce2e5a0e252f9efc595f114f (patch) | |
tree | 54b0e68b39d0b0ba861c3a05c73c8919a08e37a8 /source | |
parent | b6817b55e80f3e2ffa66a2cbdaf3a669a9d94e80 (diff) |
remove non-standard __FUNCTION__ use
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/api2_2x/Mesh.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/python/api2_2x/Mesh.c b/source/blender/python/api2_2x/Mesh.c index 336a4c87de6..5878698cb30 100644 --- a/source/blender/python/api2_2x/Mesh.c +++ b/source/blender/python/api2_2x/Mesh.c @@ -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 ); } } |