SWIG chicken module now returns multiple values instead of returning a list.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
420ba48099
commit
cee86ee739
10 changed files with 91 additions and 28 deletions
|
|
@ -602,8 +602,13 @@ CHICKEN::functionWrapper(Node *n)
|
|||
"else\n",
|
||||
" C_kontinue(continuation, resultobj);\n",
|
||||
"}\n", NIL);
|
||||
} else if (Wrapper_check_local(f, "gswig_list_p")) {
|
||||
Printv(f->code,"if (gswig_list_p)\n",
|
||||
" C_apply_values(3, C_SCHEME_UNDEFINED, continuation, resultobj);\n",
|
||||
"else\n",
|
||||
" C_kontinue(continuation, resultobj);\n", NIL);
|
||||
} else {
|
||||
Printf(f->code," C_kontinue (continuation, resultobj);\n");
|
||||
Printf(f->code,"C_kontinue (continuation, resultobj);\n");
|
||||
}
|
||||
|
||||
/* Error handling code */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue