Modify following features to work as flags, so that they can be truely set and unset:
immutable git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
bc0c43d7c1
commit
32839df23b
12 changed files with 42 additions and 42 deletions
|
|
@ -499,7 +499,7 @@ public:
|
|||
|
||||
Wrapper_add_local (f, "swig_result", "Scheme_Object *swig_result");
|
||||
|
||||
if (!Getattr(n,"feature:immutable")) {
|
||||
if (!GetFlag(n,"feature:immutable")) {
|
||||
/* Check for a setting of the variable value */
|
||||
Printf (f->code, "if (argc) {\n");
|
||||
if ((tm = Swig_typemap_lookup_new("varin",n,name,0))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue