more on the template_extmode, plus using apply when using -classic
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b644501be6
commit
0b53cb5242
1 changed files with 2 additions and 1 deletions
|
|
@ -153,6 +153,7 @@ public:
|
|||
Swig_mark_arg(i);
|
||||
} else if (strcmp(argv[i],"-classic") == 0) {
|
||||
classic = 1;
|
||||
apply = 1;
|
||||
Swig_mark_arg(i);
|
||||
} else if (strcmp(argv[i],"-cpluscast") == 0) {
|
||||
/* Turn on new value wrapper mpde */
|
||||
|
|
@ -1865,7 +1866,7 @@ public:
|
|||
* ------------------------------------------------------------ */
|
||||
|
||||
virtual int classDeclaration(Node *n) {
|
||||
if (shadow) {
|
||||
if (shadow && !Getattr(n,"feature:onlychildren")) {
|
||||
Node *mod = Getattr(n,"module");
|
||||
if (mod) {
|
||||
String *importname = NewString("");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue