summaryrefslogtreecommitdiff
path: root/ext/dom/domimplementation.c
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2003-10-26 15:57:02 (GMT)
committerRob Richards <rrichards@php.net>2003-10-26 15:57:02 (GMT)
commit207dc90924f69b662efedd83a95970fda4685cb0 (patch)
treefbc237f51941ffa0835ce068f3a02a653a27372d /ext/dom/domimplementation.c
parentd29fb55bbb6c33aa10861f312176c07dafe61046 (diff)
downloadphp-207dc90924f69b662efedd83a95970fda4685cb0.tar.gz
add interop with simplexml - dom_import_simplexml
fix cloneNode with elements
Diffstat (limited to 'ext/dom/domimplementation.c')
-rw-r--r--ext/dom/domimplementation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/domimplementation.c b/ext/dom/domimplementation.c
index 6b476e5..3020d1d 100644
--- a/ext/dom/domimplementation.c
+++ b/ext/dom/domimplementation.c
@@ -217,8 +217,8 @@ PHP_FUNCTION(dom_domimplementation_create_document)
DOM_RET_OBJ(rv, (xmlNodePtr) docp, &ret, NULL);
if (doctobj != NULL) {
- doctobj->document = ((dom_object *)((node_ptr *)docp->_private)->_private)->document;
- increment_document_reference(doctobj, docp TSRMLS_CC);
+ doctobj->document = ((dom_object *)((php_libxml_node_ptr *)docp->_private)->_private)->document;
+ php_libxml_increment_doc_ref((php_libxml_node_object *)doctobj, docp TSRMLS_CC);
}
}
/* }}} end dom_domimplementation_create_document */