mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Rename hasMore() to valid() as discussed. (Part IV)
This commit is contained in:
parent
c2689fe35b
commit
979ef59b7c
1 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ static void php_dom_iterator_dtor(zend_object_iterator *iter TSRMLS_DC)
|
|||
efree(iterator);
|
||||
}
|
||||
|
||||
static int php_dom_iterator_has_more(zend_object_iterator *iter TSRMLS_DC)
|
||||
static int php_dom_iterator_valid(zend_object_iterator *iter TSRMLS_DC)
|
||||
{
|
||||
|
||||
php_dom_iterator *iterator = (php_dom_iterator *)iter;
|
||||
|
@ -243,7 +243,7 @@ static void php_dom_iterator_move_forward(zend_object_iterator *iter TSRMLS_DC)
|
|||
|
||||
zend_object_iterator_funcs php_dom_iterator_funcs = {
|
||||
php_dom_iterator_dtor,
|
||||
php_dom_iterator_has_more,
|
||||
php_dom_iterator_valid,
|
||||
php_dom_iterator_current_data,
|
||||
php_dom_iterator_current_key,
|
||||
php_dom_iterator_move_forward,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue