Add tests + small modifications
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f961981748
commit
454b1c8ab6
12 changed files with 241 additions and 1 deletions
|
|
@ -79,6 +79,13 @@ SWIGINTERN int SWIG_AsVal_dec(long)(int iPos, long* val)
|
|||
}
|
||||
}
|
||||
|
||||
%fragment(SWIG_From_frag(long),"header") {
|
||||
SWIGINTERNINLINE int SWIG_From_dec(long) (long value)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/*%fragment(SWIG_AsPtr_frag(std::string),"header") {
|
||||
SWIGINTERN int
|
||||
SWIG_AsPtr_std_string(int iPos, std::string **val)
|
||||
|
|
|
|||
|
|
@ -568,7 +568,7 @@
|
|||
iRowsOut = 1;
|
||||
iColsOut = 1;
|
||||
|
||||
sciErr = SCIAPIFUNCTION(pvApiCtx, iVarOut, iRowsOut, iColsOut, (CTYPE *)&$result);
|
||||
sciErr = SCIAPIFUNCTION(pvApiCtx, iVarOut, iRowsOut, iColsOut, (CTYPE *)&$1);
|
||||
if (sciErr.iErr)
|
||||
{
|
||||
printError(&sciErr, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue