fixes for %template+member/static methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6636 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b6ced827f8
commit
6227611fa7
3 changed files with 65 additions and 2 deletions
|
|
@ -806,10 +806,17 @@ static String *resolve_node_scope(String *cname) {
|
|||
Printf(sname,"::%s",si.item);
|
||||
}
|
||||
}
|
||||
if (!nscope) {
|
||||
nscope = new_node("namespace");
|
||||
Setattr(nscope,"symtab", get_global_scope());
|
||||
}
|
||||
nscope_inner = Swig_symbol_clookup(sname,0);
|
||||
Printf(sname,"::%s",base);
|
||||
Swig_symbol_setscope(Getattr(nscope_inner,"symtab"));
|
||||
|
||||
Delete(base);
|
||||
base = sname;
|
||||
|
||||
break;
|
||||
}
|
||||
ns2 = new_node("namespace");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue