summaryrefslogtreecommitdiff
path: root/ext/domxml/php_domxml.c
diff options
context:
space:
mode:
authorMarkus Fischer <mfischer@php.net>2002-01-07 00:54:20 +0000
committerMarkus Fischer <mfischer@php.net>2002-01-07 00:54:20 +0000
commitd4fa619d49dfda411f8164fb38501ff8f62886f4 (patch)
tree239595d6ee0fcf5e87e0c4679ad5ff48e721ca2e /ext/domxml/php_domxml.c
parented0106089786030c12187590628a867de181f237 (diff)
downloadphp-git-d4fa619d49dfda411f8164fb38501ff8f62886f4.tar.gz
- Fix domxml_node_unlink_node() proto and return value.
Diffstat (limited to 'ext/domxml/php_domxml.c')
-rw-r--r--ext/domxml/php_domxml.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c
index 7081b32be9..d3c48a569d 100644
--- a/ext/domxml/php_domxml.c
+++ b/ext/domxml/php_domxml.c
@@ -1587,8 +1587,8 @@ PHP_FUNCTION(domxml_node_children)
}
/* }}} */
-/* {{{ proto object domxml_node_unlink_node(void)
- Deletes node */
+/* {{{ proto void domxml_node_unlink_node([object node])
+ Deletes the node */
PHP_FUNCTION(domxml_node_unlink_node)
{
zval *id;
@@ -1599,7 +1599,6 @@ PHP_FUNCTION(domxml_node_unlink_node)
xmlUnlinkNode(nodep);
xmlFreeNode(nodep);
zval_dtor(id); /* This is not enough because the children won't be deleted */
- RETURN_TRUE;
}
/* }}} */