Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorKen Hughes <khughes@pacific.edu>2005-10-05 00:27:25 +0400
committerKen Hughes <khughes@pacific.edu>2005-10-05 00:27:25 +0400
commit5f6dbf846b562d9cce2e5a0e252f9efc595f114f (patch)
tree54b0e68b39d0b0ba861c3a05c73c8919a08e37a8 /source
parentb6817b55e80f3e2ffa66a2cbdaf3a669a9d94e80 (diff)
remove non-standard __FUNCTION__ use
Diffstat (limited to 'source')
-rw-r--r--source/blender/python/api2_2x/Mesh.c6
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 );
}
}