[PHP] Fix wrapping of global variables which was producing
uncompilable code in some cases. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1f4abe162d
commit
227f2e2e0a
2 changed files with 4 additions and 2 deletions
|
|
@ -1779,8 +1779,6 @@ done:
|
|||
if (!addSymbol(iname, n))
|
||||
return SWIG_ERROR;
|
||||
|
||||
SwigType_remember(t);
|
||||
|
||||
/* First link C variables to PHP */
|
||||
|
||||
tm = Swig_typemap_lookup("varinit", n, name, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue