summaryrefslogtreecommitdiff
path: root/ext/xslt/php_sablot.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/xslt/php_sablot.h')
-rw-r--r--ext/xslt/php_sablot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/xslt/php_sablot.h b/ext/xslt/php_sablot.h
index 1c63c68154..f494fba848 100644
--- a/ext/xslt/php_sablot.h
+++ b/ext/xslt/php_sablot.h
@@ -46,6 +46,8 @@ extern zend_module_entry xslt_module_entry;
#define XSLT_ERRSTR(handle) ((handle)->err->str)
#define XSLT_LOG(handle) ((handle)->err->log)
+#define XSLT_FUNCH_FREE(__var) if (__var) zval_ptr_dtor(&(__var));
+
PHP_MINIT_FUNCTION(xslt);
PHP_MINFO_FUNCTION(xslt);