scilab: rename function name management routines

This commit is contained in:
Simon Marchetto 2014-09-11 14:46:44 +02:00
commit f58be33005
26 changed files with 66 additions and 63 deletions

View file

@ -8,7 +8,7 @@ SWIG_AsPtr_dec(std::string)(int iVar, std::string **pstValue) {
size_t size = 0;
int alloc = SWIG_OLDOBJ;
if (SWIG_IsOK((SWIG_SciString_AsCharPtrAndSize(pvApiCtx, iVar, &buf, &size, &alloc, SWIG_Scilab_GetFname())))) {
if (SWIG_IsOK((SWIG_SciString_AsCharPtrAndSize(pvApiCtx, iVar, &buf, &size, &alloc, SWIG_Scilab_GetFuncName())))) {
if (buf) {
if (pstValue) {
*pstValue = new std::string(buf, size);