summaryrefslogtreecommitdiff
path: root/ext/dom/notation.c
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2003-07-07 19:37:32 (GMT)
committerRob Richards <rrichards@php.net>2003-07-07 19:37:32 (GMT)
commit4cd06845f9ba63f1fe4fa640eeb0e7b9c21f7365 (patch)
tree19ce92323ce5b1fec1b0b59fdaaa0ebc813543c6 /ext/dom/notation.c
parent134338522f524b84d8ee43bdd457486a15d5128a (diff)
downloadphp-4cd06845f9ba63f1fe4fa640eeb0e7b9c21f7365.tar.gz
implement node proxies: next phase of interop
Diffstat (limited to 'ext/dom/notation.c')
-rw-r--r--ext/dom/notation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/notation.c b/ext/dom/notation.c
index b50765f..754eb83 100644
--- a/ext/dom/notation.c
+++ b/ext/dom/notation.c
@@ -49,7 +49,7 @@ int dom_notation_public_id_read(dom_object *obj, zval **retval TSRMLS_DC)
{
xmlNotationPtr nodep;
- nodep = obj->ptr;
+ nodep = (xmlNotationPtr) dom_object_get_node(obj);
ALLOC_ZVAL(*retval);
if (nodep->PublicID) {
ZVAL_STRING(*retval, (char *) (nodep->PublicID), 1);
@@ -73,7 +73,7 @@ int dom_notation_system_id_read(dom_object *obj, zval **retval TSRMLS_DC)
{
xmlNotationPtr nodep;
- nodep = obj->ptr;
+ nodep = (xmlNotationPtr) dom_object_get_node(obj);
ALLOC_ZVAL(*retval);
if (nodep->SystemID) {
ZVAL_STRING(*retval, (char *) (nodep->PublicID), 1);