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