hpt_to_php needs TSRMLS_FETCH too; update swig to version perl uses
This commit is contained in:
parent
4826607e67
commit
8286ce087d
2 changed files with 2 additions and 1 deletions
|
|
@ -121,6 +121,7 @@
|
|||
|
||||
%inline {
|
||||
void hpt_to_php(const HParsedToken *token, zval *return_value) {
|
||||
TSRMLS_FETCH();
|
||||
if (!token) {
|
||||
RETVAL_NULL();
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue