more on %rename+%features+ templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8a88aecc24
commit
de1ed9d840
1 changed files with 1 additions and 1 deletions
|
|
@ -448,7 +448,7 @@ Swig_name_object_get(Hash *namehash, String *prefix, String *name, SwigType *dec
|
|||
if (!rn) rn = get_object(n,0);
|
||||
Delete(tname);
|
||||
/* A template-based class lookup */
|
||||
if (SwigType_istemplate(prefix)) {
|
||||
if (!rn && SwigType_istemplate(prefix)) {
|
||||
String *rname = SwigType_templateprefix(prefix);
|
||||
tname = NewStringf("%s::%s",rname,name);
|
||||
n = Getattr(namehash,tname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue