scilab: clean
This commit is contained in:
parent
ff7825c7a6
commit
4d46527c9c
1 changed files with 1 additions and 3 deletions
|
|
@ -251,8 +251,7 @@ SwigScilabPtrToObject(void *pvApiCtx, int iVar, void **pvObj, swig_type_info *de
|
||||||
void *pvTypeinfo = NULL;
|
void *pvTypeinfo = NULL;
|
||||||
|
|
||||||
sciErr = getListItemNumber(pvApiCtx, piAddrVar, &iItemCount);
|
sciErr = getListItemNumber(pvApiCtx, piAddrVar, &iItemCount);
|
||||||
if (sciErr.iErr)
|
if (sciErr.iErr) {
|
||||||
{
|
|
||||||
printError(&sciErr, 0);
|
printError(&sciErr, 0);
|
||||||
return SWIG_ERROR;
|
return SWIG_ERROR;
|
||||||
}
|
}
|
||||||
|
|
@ -335,7 +334,6 @@ SwigScilabPtrFromObject(void *pvApiCtx, int iVarOut, void *pvObj, swig_type_info
|
||||||
return SWIG_ERROR;
|
return SWIG_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
sciErr = createPointerInList(pvApiCtx, SWIG_NbInputArgument(pvApiCtx) + iVarOut, piMListAddr, 3, pvObj);
|
sciErr = createPointerInList(pvApiCtx, SWIG_NbInputArgument(pvApiCtx) + iVarOut, piMListAddr, 3, pvObj);
|
||||||
if (sciErr.iErr) {
|
if (sciErr.iErr) {
|
||||||
printError(&sciErr, 0);
|
printError(&sciErr, 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue