From 2cbcb743d8e46a71f80ad4a9a6652e151dac2947 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Mon, 13 Jan 2003 08:19:50 +0000 Subject: - Fix ZTS build --- ext/domxml/php_domxml.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/domxml/php_domxml.c') diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index 41f99e9cfd..92d682aea7 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -899,6 +899,7 @@ static zval *xpath_context_get_data(void *obj) static void php_xpath_set_context(zval *wrapper, void *obj, int rsrc_type) { zval *handle, *addr; + TSRMLS_FETCH(); MAKE_STD_ZVAL(handle); Z_TYPE_P(handle) = IS_LONG; @@ -954,6 +955,7 @@ static void xmlparser_set_data(void *obj, zval *wrapper) static void php_xmlparser_set_object(zval *wrapper, void *obj, int rsrc_type) { zval *handle, *addr; + TSRMLS_FETCH(); MAKE_STD_ZVAL(handle); Z_TYPE_P(handle) = IS_LONG; @@ -1071,6 +1073,7 @@ void *php_dom_get_object(zval *wrapper, int rsrc_type1, int rsrc_type2 TSRMLS_DC static void php_dom_set_object(zval *wrapper, void *obj, int rsrc_type) { zval *handle, *addr; + TSRMLS_FETCH(); MAKE_STD_ZVAL(handle); Z_TYPE_P(handle) = IS_LONG; -- cgit v1.2.1