]> granicus.if.org Git - php/commitdiff
bah. does it really make any difference where rewind lives in the struct!?
authorWez Furlong <wez@php.net>
Sat, 18 Oct 2003 15:56:16 +0000 (15:56 +0000)
committerWez Furlong <wez@php.net>
Sat, 18 Oct 2003 15:56:16 +0000 (15:56 +0000)
ext/com_dotnet/com_iterator.c

index a260b3ca90e37b1d9b296d6bf57dad876bef52cd..e4c31c6b30b04ac402cd580f90d3c8d810d4250a 100644 (file)
@@ -113,11 +113,11 @@ static int com_iter_move_forwards(zend_object_iterator *iter TSRMLS_DC)
 
 static zend_object_iterator_funcs com_iter_funcs = {
        com_iter_dtor,
-       NULL, /* rewind */
        com_iter_has_more,
        com_iter_get_data,
        com_iter_get_key,
-       com_iter_move_forwards
+       com_iter_move_forwards,
+       NULL
 };
 
 zend_object_iterator *php_com_iter_get(zend_class_entry *ce, zval *object TSRMLS_DC)