fix smart_pointer + extend
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6835 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
13aee4b0e7
commit
bffe7fd9c7
6 changed files with 72 additions and 11 deletions
|
|
@ -267,8 +267,8 @@ class Allocate : public Dispatcher {
|
|||
c = nextSibling(c);
|
||||
continue;
|
||||
}
|
||||
if (Strcmp(nodeType(c),"extend") == 0) {
|
||||
Append(methods,c);
|
||||
if (!isconst && (Strcmp(nodeType(c),"extend") == 0)) {
|
||||
methods = smart_pointer_methods(c, methods, isconst);
|
||||
} else if (Strcmp(nodeType(c),"cdecl") == 0) {
|
||||
if (!Getattr(c,"feature:ignore")) {
|
||||
String *storage = Getattr(c,"storage");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue