add support for template_extmode, ie, the emitonlychildren feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
77a6f33d98
commit
b644501be6
3 changed files with 30 additions and 22 deletions
|
|
@ -1405,8 +1405,11 @@ public:
|
|||
* ------------------------------------------------------------ */
|
||||
|
||||
virtual int classDeclaration(Node *n) {
|
||||
String *symname = Getattr(n,"sym:name");
|
||||
Setattr(n,"php:proxy",symname);
|
||||
if (!Getattr(n,"feature:onlychildren")) {
|
||||
String *symname = Getattr(n,"sym:name");
|
||||
Setattr(n,"php:proxy",symname);
|
||||
}
|
||||
|
||||
return Language::classDeclaration(n);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue