Modify following features to work as flags, so that they can be truely set and unset:
modula3:multiretval git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
de74fd79d0
commit
0fe672fa36
1 changed files with 1 additions and 1 deletions
|
|
@ -3315,7 +3315,7 @@ MODULA3 ():
|
|||
String *raw_name = Getattr (n, "name"); /*original C function name */
|
||||
//String *func_name = Getattr(n,"sym:name"); /*final Modula3 name chosen by the user*/
|
||||
bool setter_flag = false;
|
||||
bool multiretval = Getattr (n, "feature:modula3:multiretval") != NIL;
|
||||
int multiretval = GetFlag (n, "feature:modula3:multiretval");
|
||||
|
||||
if (l) {
|
||||
if (SwigType_type (Getattr (l, "type")) == T_VOID) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue