fix extend constructor + default destructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
aadfeadad9
commit
290a7da24c
1 changed files with 4 additions and 0 deletions
|
|
@ -850,7 +850,11 @@ public:
|
|||
if (cplus_mode == PUBLIC) {
|
||||
Setattr(inclass,"allocate:public_constructor","1");
|
||||
}
|
||||
} else {
|
||||
Setattr(inclass,"allocate:has_constructor","1");
|
||||
Setattr(inclass,"allocate:public_constructor","1");
|
||||
}
|
||||
|
||||
|
||||
/* See if this is a copy constructor */
|
||||
if (parms && (ParmList_numrequired(parms) == 1)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue