Scilab: use fname argument not global variable

This commit is contained in:
Simon Marchetto 2013-10-09 13:02:54 +02:00
commit 626a1f5482
2 changed files with 2 additions and 2 deletions

View file

@ -110,7 +110,7 @@ SWIGINTERN int
SWIG_SciInt32_AsSize(void *_pvApiCtx, SwigSciObject _iVar, size_t *_piValue, char *_fname)
{
int iValue = 0;
if (SWIG_SciInt32_AsInt(_pvApiCtx, _iVar, &iValue, fname) != SWIG_OK)
if (SWIG_SciInt32_AsInt(_pvApiCtx, _iVar, &iValue, _fname) != SWIG_OK)
{
return SWIG_ERROR;
}

View file

@ -42,7 +42,7 @@ SWIGINTERN int
SWIG_SciInt32_AsPtrDiff(void *_pvApiCtx, SwigSciObject _iVar, ptrdiff_t *_piValue, char *_fname)
{
int iValue = 0;
if (SWIG_SciInt32_AsInt(_pvApiCtx, _iVar, &iValue, fname) != SWIG_OK)
if (SWIG_SciInt32_AsInt(_pvApiCtx, _iVar, &iValue, _fname) != SWIG_OK)
{
return SWIG_ERROR;
}