hpt_to_php needs TSRMLS_FETCH too; update swig to version perl uses

This commit is contained in:
Meredith L. Patterson 2013-12-18 14:55:26 +01:00
parent 4826607e67
commit 8286ce087d
2 changed files with 2 additions and 1 deletions

View file

@ -121,6 +121,7 @@
%inline {
void hpt_to_php(const HParsedToken *token, zval *return_value) {
TSRMLS_FETCH();
if (!token) {
RETVAL_NULL();
return;