1
0
mirror of https://github.com/php/php-src.git synced 2026-04-09 09:03:04 +02:00

- Fix domxml_node_unlink_node() proto and return value.

This commit is contained in:
Markus Fischer
2002-01-07 00:54:20 +00:00
parent ed01060897
commit d4fa619d49

View File

@@ -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;
}
/* }}} */