explicitly %ignore'd symbol does not get feature:ignore if it is only added to C symbol table
This commit is contained in:
parent
54aef6686a
commit
6915061b7d
1 changed files with 2 additions and 0 deletions
|
|
@ -466,6 +466,8 @@ static void add_symbols(Node *n) {
|
|||
if (only_csymbol || GetFlag(n,"feature:ignore")) {
|
||||
/* Only add to C symbol table and continue */
|
||||
Swig_symbol_add(0, n);
|
||||
if (strncmp(Char(symname),"$ignore",7) == 0)
|
||||
SetFlag(n,"feature:ignore");
|
||||
} else if (strncmp(Char(symname),"$ignore",7) == 0) {
|
||||
char *c = Char(symname)+7;
|
||||
SetFlag(n,"feature:ignore");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue