add Scott Fix for directors+rename, and testExamples/test-suite/director_basic.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
d6804b34d2
commit
1ea4adbcd4
2 changed files with 5 additions and 1 deletions
|
|
@ -21,4 +21,8 @@ if b.ping() != "Foo::ping()":
|
|||
if b.pong() != "Foo::pong();Foo::ping()":
|
||||
raise RuntimeError, b.pong()
|
||||
|
||||
a = director_basic.A1(1)
|
||||
|
||||
if a.rg(2) != 2:
|
||||
raise RuntimeError
|
||||
|
||||
|
|
|
|||
|
|
@ -1570,7 +1570,7 @@ int Language::unrollVirtualMethods(Node *n,
|
|||
|
||||
if (SwigType_isfunction(decl) &&
|
||||
(is_public(ni) || need_nopublic)) {
|
||||
String *name = Getattr(ni, "sym:name");
|
||||
String *name = Getattr(ni, "name");
|
||||
String *local_decl = SwigType_typedef_resolve_all(decl);
|
||||
|
||||
Node *method_id = is_destructor ? NewStringf("~destructor") : NewStringf("%s|%s", name, local_decl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue