solve duplicate symbol issue reported by Andreas Held
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8744 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
be2a108a3a
commit
c5b3ac2abd
2 changed files with 18 additions and 12 deletions
|
|
@ -765,8 +765,9 @@ int Language::cDeclaration(Node *n) {
|
|||
if (!isfriend ) {
|
||||
/* we check what director needs. If the method is pure virtual,
|
||||
it is always needed. */
|
||||
if (!(directorsEnabled() && is_member_director(CurrentClass,n) && need_nonpublic_member(n)))
|
||||
if (!(directorsEnabled() && Getattr(n,"director")) ) {
|
||||
return SWIG_NOWRAP;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue