]> granicus.if.org Git - php/commitdiff
Fixed ZTS build with ZE2.
authorIlia Alshanetsky <iliaa@php.net>
Tue, 7 Jan 2003 14:34:41 +0000 (14:34 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 7 Jan 2003 14:34:41 +0000 (14:34 +0000)
ext/domxml/php_domxml.c

index 3aef2a068d093c971696f5744922a7f5a20b63ed..e3b6a6ea812fd83f4df4e41505a7503a5e09236f 100644 (file)
@@ -782,7 +782,7 @@ void *php_xsltstylesheet_get_object(zval *wrapper, int rsrc_type1, int rsrc_type
        return obj;
 }
 
-static void php_xsltstylesheet_set_object(zval *wrapper, void *obj, int rsrc_type)
+static void php_xsltstylesheet_set_object(zval *wrapper, void *obj, int rsrc_type TSRMLS_DC)
 {
        zval *handle, *addr;
 
@@ -4992,7 +4992,7 @@ static zval *php_xsltstylesheet_new(xsltStylesheetPtr obj, int *found TSRMLS_DC)
 
        object_init_ex(wrapper, domxsltstylesheet_class_entry);
        rsrc_type = le_domxsltstylesheetp;
-       php_xsltstylesheet_set_object(wrapper, (void *) obj, rsrc_type);
+       php_xsltstylesheet_set_object(wrapper, (void *) obj, rsrc_type TSRMLS_CC);
 
        return (wrapper);
 }