summaryrefslogtreecommitdiff
path: root/ext/domxml
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2003-01-13 08:19:50 +0000
committerDerick Rethans <derick@php.net>2003-01-13 08:19:50 +0000
commit2cbcb743d8e46a71f80ad4a9a6652e151dac2947 (patch)
tree1652bdba85116ddb0f9f16ff5c7abe1f9da6c054 /ext/domxml
parent94e6eb06dd474163e2a363351cbece8e5a4748f8 (diff)
downloadphp-git-2cbcb743d8e46a71f80ad4a9a6652e151dac2947.tar.gz
- Fix ZTS build
Diffstat (limited to 'ext/domxml')
-rw-r--r--ext/domxml/php_domxml.c3
1 files changed, 3 insertions, 0 deletions
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;