template ext mode on for all languages, not just Python now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
13b0f31b03
commit
ddd9f11c81
6 changed files with 3 additions and 28 deletions
|
|
@ -20,7 +20,6 @@ char cvsroot_lang_cxx[] = "$Header$";
|
|||
|
||||
static int director_mode = 0; /* set to 0 on default */
|
||||
static int director_protected_mode = 0; /* set to 0 on default */
|
||||
static int template_extmode = 0; /* set to 0 on default */
|
||||
|
||||
/* Set director_protected_mode */
|
||||
void Wrapper_director_mode_set(int flag) {
|
||||
|
|
@ -31,10 +30,6 @@ void Wrapper_director_protected_mode_set(int flag) {
|
|||
director_protected_mode = flag;
|
||||
}
|
||||
|
||||
void Wrapper_template_extmode_set(int flag) {
|
||||
template_extmode = flag;
|
||||
}
|
||||
|
||||
extern "C" {
|
||||
int Swig_director_mode()
|
||||
{
|
||||
|
|
@ -45,11 +40,6 @@ extern "C" {
|
|||
{
|
||||
return director_protected_mode;
|
||||
}
|
||||
|
||||
int Swig_template_extmode()
|
||||
{
|
||||
return template_extmode;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -2585,7 +2575,7 @@ Language::classLookup(SwigType *s) {
|
|||
Delete(base);
|
||||
Delete(prefix);
|
||||
}
|
||||
if (n && (Getattr(n,"feature:ignore"))) {
|
||||
if (n && (Getattr(n,"feature:ignore") || Getattr(n,"feature:onlychildren"))) {
|
||||
n = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue