helly Sat Oct 30 06:46:26 2004 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/spl spl_iterators.c Log: MFH Fix protos http://cvs.php.net/diff.php/php-src/ext/spl/spl_iterators.c?r1=1.38.2.1&r2=1.38.2.2&ty=u Index: php-src/ext/spl/spl_iterators.c diff -u php-src/ext/spl/spl_iterators.c:1.38.2.1 php-src/ext/spl/spl_iterators.c:1.38.2.2 --- php-src/ext/spl/spl_iterators.c:1.38.2.1 Wed Jul 28 18:55:26 2004 +++ php-src/ext/spl/spl_iterators.c Sat Oct 30 06:46:24 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: spl_iterators.c,v 1.38.2.1 2004/07/28 22:55:26 helly Exp $ */ +/* $Id: spl_iterators.c,v 1.38.2.2 2004/10/30 10:46:24 helly Exp $ */ #ifdef HAVE_CONFIG_H # include "config.h" @@ -314,7 +314,7 @@ spl_recursive_it_rewind }; -/* {{{ proto RecursiveIteratorIterator::__construct(RecursiveIterator $it) +/* {{{ proto RecursiveIteratorIterator::__construct(RecursiveIterator it [, int flags = RIT_LEAVES_ONLY]) Creates a RecursiveIteratorIterator from a RecursiveIterator. */ SPL_METHOD(RecursiveIteratorIterator, __construct) { @@ -414,8 +414,8 @@ RETURN_LONG(object->level); } /* }}} */ -/* {{{ proto RecursiveIterator RecursiveIteratorIterator::getSubIterator() - The current active sub iterator */ +/* {{{ proto RecursiveIterator RecursiveIteratorIterator::getSubIterator([int level]) + The current active sub iterator or the iterator at specified level */ SPL_METHOD(RecursiveIteratorIterator, getSubIterator) { spl_recursive_it_object *object = (spl_recursive_it_object*)zend_object_store_get_object(getThis() TSRMLS_CC); @@ -839,7 +839,7 @@ spl_filter_it_next(getThis(), intern TSRMLS_CC); } /* }}} */ -/* {{{ proto ParentIterator::__construct(RecursiveIterator $it) +/* {{{ proto ParentIterator::__construct(RecursiveIterator it) Create a ParentIterator from a RecursiveIterator */ SPL_METHOD(ParentIterator, __construct) { @@ -995,7 +995,7 @@ } } -/* {{{ proto LimitIterator::__construct(Iterator $it [, int $offset, int $count]) +/* {{{ proto LimitIterator::__construct(Iterator it [, int offset, int count]) Construct a LimitIterator from an Iterator with a given starting offset and optionally a maximum count */ SPL_METHOD(LimitIterator, __construct) { @@ -1039,7 +1039,7 @@ } } /* }}} */ -/* {{{ proto void LimitIterator::seek(int $position) +/* {{{ proto void LimitIterator::seek(int position) Seek to the given position */ SPL_METHOD(LimitIterator, seek) { @@ -1187,7 +1187,7 @@ spl_caching_it_next(intern TSRMLS_CC); } -/* {{{ proto CachingIterator::__construct(Iterator $it) +/* {{{ proto CachingIterator::__construct(Iterator it [, flags = CIT_CALL_TOSTRING]) Construct a CachingIterator from an Iterator */ SPL_METHOD(CachingIterator, __construct) { @@ -1275,7 +1275,7 @@ {NULL, NULL, NULL} }; -/* {{{ proto CachingRecursiveIterator::__construct(RecursiveIterator $it) +/* {{{ proto CachingRecursiveIterator::__construct(RecursiveIterator it [, flags = CIT_CALL_TOSTRING]) Create an iterator from a RecursiveIterator */ SPL_METHOD(CachingRecursiveIterator, __construct) {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php