diff options
| author | Rob Richards <rrichards@php.net> | 2003-08-24 10:24:22 +0000 |
|---|---|---|
| committer | Rob Richards <rrichards@php.net> | 2003-08-24 10:24:22 +0000 |
| commit | b196c0551ed9ef4bbe598b818da90f2d4c45acbd (patch) | |
| tree | 01c512369dff436b6b197bfb18658dff015c3759 /ext/dom/xml_common.h | |
| parent | 09481c642b59737096d25518a290d8a3bb710042 (diff) | |
| download | php-git-b196c0551ed9ef4bbe598b818da90f2d4c45acbd.tar.gz | |
implement stricterrorcheck
fix clonenode
cleanup error routines
forgot these files
Diffstat (limited to 'ext/dom/xml_common.h')
| -rw-r--r-- | ext/dom/xml_common.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/dom/xml_common.h b/ext/dom/xml_common.h index 629538232b..f309da5d96 100644 --- a/ext/dom/xml_common.h +++ b/ext/dom/xml_common.h @@ -25,6 +25,7 @@ typedef struct _dom_ref_obj { void *ptr; int refcount; + int stricterror; } dom_ref_obj; typedef struct _node_ptr { @@ -87,13 +88,13 @@ PHP_DOM_EXPORT(void) dom_write_property(zval *object, zval *member, zval *value #define DOM_RET_OBJ(zval, obj, ret, domobject) \ if (NULL == (zval = php_dom_create_object(obj, ret, zval, return_value, domobject TSRMLS_CC))) { \ - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot create required DOM object"); \ + php_error(E_WARNING, "Cannot create required DOM object"); \ RETURN_FALSE; \ } #define DOM_GET_THIS(zval) \ if (NULL == (zval = getThis())) { \ - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Underlying object missing"); \ + php_error(E_WARNING, "Underlying object missing"); \ RETURN_FALSE; \ } |
