summaryrefslogtreecommitdiffstats
path: root/php
diff options
context:
space:
mode:
Diffstat (limited to 'php')
-rwxr-xr-xphp/patch_swig_output.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/php/patch_swig_output.py b/php/patch_swig_output.py
index 9b548ac2..fcf03d71 100755
--- a/php/patch_swig_output.py
+++ b/php/patch_swig_output.py
@@ -192,4 +192,7 @@ for i in range(10):
wrap = re.sub(r'zend_register_internal_class_ex(.*)NULL,NULL\)',
r'zend_register_internal_class_ex\1NULL,NULL TSRMLS_CC)', wrap)
+wrap = re.sub('zend_rsrc_list_get_rsrc_type(.*)lval',
+ r'zend_rsrc_list_get_rsrc_type\1lval TSRMLS_CC', wrap)
+
print wrap