Simplify PHP backend code
This commit is contained in:
parent
7d70402306
commit
48bb7e0e95
1 changed files with 1 additions and 13 deletions
|
|
@ -99,8 +99,6 @@ static Hash *zend_types = 0;
|
||||||
|
|
||||||
static int shadow = 1;
|
static int shadow = 1;
|
||||||
|
|
||||||
static String *wrapping_member_constant = NULL;
|
|
||||||
|
|
||||||
// These static variables are used to pass some state from Handlers into functionWrapper
|
// These static variables are used to pass some state from Handlers into functionWrapper
|
||||||
static enum {
|
static enum {
|
||||||
standard = 0,
|
standard = 0,
|
||||||
|
|
@ -1397,6 +1395,7 @@ public:
|
||||||
|
|
||||||
SwigType_remember(type);
|
SwigType_remember(type);
|
||||||
|
|
||||||
|
String *wrapping_member_constant = Getattr(n, "memberconstantHandler:sym:name");
|
||||||
if (!wrapping_member_constant) {
|
if (!wrapping_member_constant) {
|
||||||
{
|
{
|
||||||
tm = Swig_typemap_lookup("consttab", n, name, 0);
|
tm = Swig_typemap_lookup("consttab", n, name, 0);
|
||||||
|
|
@ -1783,17 +1782,6 @@ public:
|
||||||
return SWIG_OK;
|
return SWIG_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ------------------------------------------------------------
|
|
||||||
* memberconstantHandler()
|
|
||||||
* ------------------------------------------------------------ */
|
|
||||||
|
|
||||||
virtual int memberconstantHandler(Node *n) {
|
|
||||||
wrapping_member_constant = Getattr(n, "sym:name");
|
|
||||||
Language::memberconstantHandler(n);
|
|
||||||
wrapping_member_constant = NULL;
|
|
||||||
return SWIG_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
int classDirectorInit(Node *n) {
|
int classDirectorInit(Node *n) {
|
||||||
String *declaration = Swig_director_declaration(n);
|
String *declaration = Swig_director_declaration(n);
|
||||||
Printf(f_directors_h, "%s\n", declaration);
|
Printf(f_directors_h, "%s\n", declaration);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue