From 0706c5d13a26f661242e325bd862428278eaeaa7 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Fri, 30 Sep 2005 23:35:52 +0000 Subject: [PATCH] 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/SWIG@7572 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/modula3.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/modula3.cxx b/Source/Modules/modula3.cxx index 1421d9eca..898b46e69 100644 --- a/Source/Modules/modula3.cxx +++ b/Source/Modules/modula3.cxx @@ -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) {