set the feature:immutable at the parsing stage, such that it can be used with rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2621785fb0
commit
fa47d6befe
1 changed files with 3 additions and 0 deletions
|
|
@ -378,6 +378,9 @@ static void add_symbols(Node *n) {
|
|||
if (SwigType_isconst(rt)) {
|
||||
SetFlag(n,"hasconsttype");
|
||||
}
|
||||
if (!SwigType_ismutable(rt)) {
|
||||
SetFlag(n,"feature:immutable");
|
||||
}
|
||||
Delete(rt);
|
||||
}
|
||||
if (!type) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue