diff options
author | Nuno Lopes <nlopess@php.net> | 2006-09-05 13:50:22 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2006-09-05 13:50:22 +0000 |
commit | dadc6b8a3b9d232b96b074449b13ddace0021893 (patch) | |
tree | 72e38adc67111a3335fcfeeb9d35c037136a8bd8 | |
parent | 4cff5db8f4c1ac2524a0c9e6ffe8928c4007b8f9 (diff) | |
download | php-git-dadc6b8a3b9d232b96b074449b13ddace0021893.tar.gz |
remove some leftover code from the time tidy would throw exceptions
-rw-r--r-- | ext/tidy/tidy.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/ext/tidy/tidy.c b/ext/tidy/tidy.c index c6b0b050ee..4c5bf49f57 100644 --- a/ext/tidy/tidy.c +++ b/ext/tidy/tidy.c @@ -223,7 +223,6 @@ static char *php_tidy_file_to_mem(char *, zend_bool, int * TSRMLS_DC); static void tidy_object_free_storage(void * TSRMLS_DC); static zend_object_value tidy_object_new_node(zend_class_entry * TSRMLS_DC); static zend_object_value tidy_object_new_doc(zend_class_entry * TSRMLS_DC); -static zend_object_value tidy_object_new_exception(zend_class_entry * TSRMLS_DC); static zend_class_entry *tidy_get_ce_node(zval * TSRMLS_DC); static zend_class_entry *tidy_get_ce_doc(zval * TSRMLS_DC); static zval * tidy_instanciate(zend_class_entry *, zval * TSRMLS_DC); @@ -370,7 +369,6 @@ zend_class_entry *tidy_ce_doc, *tidy_ce_node, *tidy_ce_exception; static zend_object_handlers tidy_object_handlers_doc; static zend_object_handlers tidy_object_handlers_node; -static zend_object_handlers tidy_object_handlers_exception; zend_module_entry tidy_module_entry = { STANDARD_MODULE_HEADER, @@ -682,13 +680,6 @@ static zend_object_value tidy_object_new_doc(zend_class_entry *class_type TSRMLS return retval; } -static zend_object_value tidy_object_new_exception(zend_class_entry *class_type TSRMLS_DC) -{ - zend_object_value retval; - tidy_object_new(class_type, &tidy_object_handlers_exception, &retval, is_exception TSRMLS_CC); - return retval; -} - static zend_class_entry *tidy_get_ce_node(zval *object TSRMLS_DC) { return tidy_ce_node; @@ -1673,34 +1664,6 @@ static TIDY_NODE_METHOD(isHtml) } /* }}} */ -/* {{{ proto boolean tidyNode::isXhtml() - Returns true if this node is part of a XHTML document */ -static TIDY_NODE_METHOD(isXhtml) -{ - TIDY_FETCH_ONLY_OBJECT; - - if (tidyDetectedXhtml(obj->ptdoc->doc)) { - RETURN_TRUE; - } else { - RETURN_FALSE; - } -} -/* }}} */ - -/* {{{ proto boolean tidyNode::isXml() - Returns true if this node is part of a XML document */ -static TIDY_NODE_METHOD(isXml) -{ - TIDY_FETCH_ONLY_OBJECT; - - if (tidyDetectedGenericXml(obj->ptdoc->doc)) { - RETURN_TRUE; - } else { - RETURN_FALSE; - } -} -/* }}} */ - /* {{{ proto boolean tidyNode::isText() Returns true if this node represents text (no markup) */ static TIDY_NODE_METHOD(isText) |