[PHP] Check for %feature("notabstract") when generating PHP5 class wrapper.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
528ea7a313
commit
44a9ae4438
2 changed files with 6 additions and 1 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
Version 1.3.36 (in progress)
|
Version 1.3.36 (in progress)
|
||||||
=============================
|
=============================
|
||||||
|
|
||||||
|
05/11/2008: olly
|
||||||
|
[PHP] Check for %feature("notabstract") when generating PHP5 class
|
||||||
|
wrapper.
|
||||||
|
|
||||||
05/11/2008: wsfulton
|
05/11/2008: wsfulton
|
||||||
Fix SF #1943608 - $self substitution in %contract, patch submitted by
|
Fix SF #1943608 - $self substitution in %contract, patch submitted by
|
||||||
Toon Verstraelen.
|
Toon Verstraelen.
|
||||||
|
|
|
||||||
|
|
@ -2321,7 +2321,8 @@ public:
|
||||||
base.item = NULL;
|
base.item = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Getattr(n, "abstract")) {
|
if (Getattr(n, "abstract") && !Getattr(n, "feature:notabstract")) {
|
||||||
|
Swig_print_node(n);
|
||||||
Printf(s_phpclasses, "abstract ");
|
Printf(s_phpclasses, "abstract ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue