diff options
author | Rob Richards <rrichards@php.net> | 2003-10-26 15:57:02 +0000 |
---|---|---|
committer | Rob Richards <rrichards@php.net> | 2003-10-26 15:57:02 +0000 |
commit | 207dc90924f69b662efedd83a95970fda4685cb0 (patch) | |
tree | fbc237f51941ffa0835ce068f3a02a653a27372d /ext/dom/xpath.c | |
parent | d29fb55bbb6c33aa10861f312176c07dafe61046 (diff) | |
download | php-git-207dc90924f69b662efedd83a95970fda4685cb0.tar.gz |
add interop with simplexml - dom_import_simplexml
fix cloneNode with elements
Diffstat (limited to 'ext/dom/xpath.c')
-rw-r--r-- | ext/dom/xpath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/xpath.c b/ext/dom/xpath.c index cc9e8f3600..a0cbf46773 100644 --- a/ext/dom/xpath.c +++ b/ext/dom/xpath.c @@ -66,12 +66,12 @@ PHP_FUNCTION(dom_xpath_xpath) if (intern != NULL) { oldctx = (xmlXPathContextPtr)intern->ptr; if (oldctx != NULL) { - decrement_document_reference(intern TSRMLS_CC); + php_libxml_decrement_doc_ref((php_libxml_node_object *)intern TSRMLS_CC); xmlXPathFreeContext(oldctx); } intern->ptr = ctx; intern->document = docobj->document; - increment_document_reference(intern, docp TSRMLS_CC); + php_libxml_increment_doc_ref((php_libxml_node_object *)intern, docp TSRMLS_CC); } } /* }}} end dom_xpath_xpath */ |