[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-cvs
Subject:    [PHP-CVS] cvs: php-src /ext/spl spl_iterators.c
From:       "Marcus Boerger" <helly () php ! net>
Date:       2004-10-30 10:18:11
Message-ID: cvshelly1099131491 () cvsserver
[Download RAW message or body]

helly		Sat Oct 30 06:18:11 2004 EDT

  Modified files:              
    /php-src/ext/spl	spl_iterators.c 
  Log:
  - Fix protos
  
http://cvs.php.net/diff.php/php-src/ext/spl/spl_iterators.c?r1=1.42&r2=1.43&ty=u
Index: php-src/ext/spl/spl_iterators.c
diff -u php-src/ext/spl/spl_iterators.c:1.42 php-src/ext/spl/spl_iterators.c:1.43
--- php-src/ext/spl/spl_iterators.c:1.42	Sat Oct 30 06:04:37 2004
+++ php-src/ext/spl/spl_iterators.c	Sat Oct 30 06:18:10 2004
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: spl_iterators.c,v 1.42 2004/10/30 10:04:37 helly Exp $ */
+/* $Id: spl_iterators.c,v 1.43 2004/10/30 10:18:10 helly Exp $ */
 
 #ifdef HAVE_CONFIG_H
 # include "config.h"
@@ -317,7 +317,7 @@
 	spl_recursive_it_rewind
 };
 
-/* {{{ proto RecursiveIteratorIterator::__construct(RecursiveIterator it, int flags)
+/* {{{ proto RecursiveIteratorIterator::__construct(RecursiveIterator it [, int \
flags = RIT_LEAVES_ONLY])  Creates a RecursiveIteratorIterator from a \
RecursiveIterator. */  SPL_METHOD(RecursiveIteratorIterator, __construct)
 {
@@ -622,7 +622,7 @@
 	return intern;
 }
 
-/* {{{ proto FilterIterator::__construct(Iterator $it) 
+/* {{{ proto FilterIterator::__construct(Iterator it) 
    Create an Iterator from another iterator */
 SPL_METHOD(dual_it, __construct)
 {
@@ -852,7 +852,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)
 {
@@ -1008,7 +1008,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)
 {
@@ -1052,7 +1052,7 @@
 	}
 } /* }}} */
 
-/* {{{ proto void LimitIterator::seek(int $position)
+/* {{{ proto void LimitIterator::seek(int position)
    Seek to the given position */
 SPL_METHOD(LimitIterator, seek)
 {
@@ -1200,7 +1200,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)
 {
@@ -1288,7 +1288,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)
 {
@@ -1335,7 +1335,7 @@
 	{NULL, NULL, NULL}
 };
 
-/* {{{ array iterator_to_array(IteratorAggregate $it) 
+/* {{{ array iterator_to_array(IteratorAggregate it) 
    Copy the iterator into an array */
 PHP_FUNCTION(iterator_to_array)
 {
@@ -1374,7 +1374,7 @@
 }
 /* }}} */
 
-/* {{{ int iterator_count(IteratorAggregate $it) 
+/* {{{ int iterator_count(IteratorAggregate it) 
    Count the elements in an iterator */
 PHP_FUNCTION(iterator_count)
 {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic