use common structures from php_libxml.h

This commit is contained in:
Rob Richards 2003-10-26 15:57:31 +00:00
parent 207dc90924
commit 09c09f4279

View file

@ -25,7 +25,7 @@
#include "php.h"
#include "php_xsl.h"
#include "ext/libxml/php_libxml.h"
/*
* class xsl_xsltprocessor
@ -127,7 +127,7 @@ PHP_FUNCTION(xsl_xsltprocessor_import_stylesheet)
xmlDoc *doc = NULL, *newdoc = NULL;
xsltStylesheetPtr sheetp, oldsheetp;
xsl_object *intern;
node_object *docobj;
php_libxml_node_object *docobj;
int prevSubstValue, prevExtDtdValue;
DOM_GET_THIS(id);
@ -183,7 +183,7 @@ PHP_FUNCTION(xsl_xsltprocessor_transform_to_doc)
int ret, clone = 0;
char **params = NULL;
xsl_object *intern;
node_object *docobj;
php_libxml_node_object *docobj;
id = getThis();
intern = (xsl_object *)zend_object_store_get_object(id TSRMLS_CC);
@ -231,7 +231,7 @@ PHP_FUNCTION(xsl_xsltprocessor_transform_to_uri)
int ret, uri_len, clone = 0;
char **params = NULL, *uri;
xsl_object *intern;
node_object *docobj;
php_libxml_node_object *docobj;
id = getThis();
intern = (xsl_object *)zend_object_store_get_object(id TSRMLS_CC);
@ -285,7 +285,7 @@ PHP_FUNCTION(xsl_xsltprocessor_transform_to_xml)
int doc_txt_len;
char **params = NULL;
xsl_object *intern;
node_object *docobj;
php_libxml_node_object *docobj;
id = getThis();
intern = (xsl_object *)zend_object_store_get_object(id TSRMLS_CC);