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:
William S Fulton 2005-09-30 23:35:52 +00:00
commit 0fe672fa36

View file

@ -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) {