diff options
author | Christian Stocker <chregu@php.net> | 2002-08-27 07:33:55 +0000 |
---|---|---|
committer | Christian Stocker <chregu@php.net> | 2002-08-27 07:33:55 +0000 |
commit | b29110dd3d825ed0337bc69499b6338f064145e7 (patch) | |
tree | 51fef3f667084fe2e32361fdd5730de3f0ee0857 /ext/domxml | |
parent | 567c4bbe4b956802e58ba8a88df39a9df7d97be9 (diff) | |
download | php-git-b29110dd3d825ed0337bc69499b6338f064145e7.tar.gz |
argh, domxml_doc_free is not yet ready for CVS :)
Diffstat (limited to 'ext/domxml')
-rw-r--r-- | ext/domxml/php_domxml.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index 9902f1cb27..8c979ddf52 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -229,8 +229,6 @@ static zend_function_entry domxml_functions[] = { PHP_FE(domxml_doc_document_element, NULL) PHP_FE(domxml_doc_add_root, NULL) PHP_FE(domxml_doc_set_root, NULL) - PHP_FE(domxml_doc_free, NULL) - PHP_FE(domxml_dump_mem, NULL) PHP_FE(domxml_dump_mem_file, NULL) PHP_FE(domxml_dump_node, NULL) @@ -328,7 +326,6 @@ static function_entry php_domxmldoc_class_functions[] = { /* PHP_FALIAS(children, domxml_node_children, NULL) */ PHP_FALIAS(add_root, domxml_doc_add_root, NULL) PHP_FALIAS(set_root, domxml_doc_set_root, NULL) - PHP_FALIAS(free, domxml_doc_free, NULL) PHP_FALIAS(get_root, domxml_doc_document_element, NULL) PHP_FALIAS(root, domxml_doc_document_element, NULL) PHP_FALIAS(imported_node, domxml_doc_imported_node, NULL) @@ -3670,24 +3667,6 @@ PHP_FUNCTION(domxml_dump_mem) } /* }}} */ -/* {{{ proto string domxml_dump_mem(object doc_handle [, int format][, encoding]) - Dumps document into string and optionally formats it */ -PHP_FUNCTION(domxml_doc_free) -{ - zval *id; - xmlDoc *docp; - zval *wrapper; - zval **handle; - int refcount; - - DOMXML_PARAM_NONE(docp, id, le_domxmldocp); - - zend_hash_index_find(Z_OBJPROP_P(id), 0, (void **) &handle); - zend_list_delete(Z_LVAL_PP(handle)); - RETURN_TRUE; -} -/* }}} */ - /* {{{ proto int domxml_dump_mem_file(string filename [, int compressmode [, int format]]) Dumps document into file and uses compression if specified. Returns false on error, otherwise the length of the xml-document (uncompressed) */ PHP_FUNCTION(domxml_dump_mem_file) |