mirror of
https://github.com/php/php-src.git
synced 2024-12-03 06:44:07 +08:00
Sort some decls in spl_iterators.h
There are enough of them that sorting makes it a bit nicer.
This commit is contained in:
parent
4c088c5da7
commit
18f9d6bb7e
@ -21,40 +21,40 @@
|
||||
#include "php_spl.h"
|
||||
#include "ext/pcre/php_pcre.h"
|
||||
|
||||
#define spl_ce_Traversable zend_ce_traversable
|
||||
#define spl_ce_Iterator zend_ce_iterator
|
||||
#define spl_ce_Aggregate zend_ce_aggregate
|
||||
#define spl_ce_ArrayAccess zend_ce_arrayaccess
|
||||
#define spl_ce_Serializable zend_ce_serializable
|
||||
#define spl_ce_Countable zend_ce_countable
|
||||
#define spl_ce_Iterator zend_ce_iterator
|
||||
#define spl_ce_Serializable zend_ce_serializable
|
||||
#define spl_ce_Stringable zend_ce_stringable
|
||||
#define spl_ce_Traversable zend_ce_traversable
|
||||
|
||||
extern PHPAPI zend_class_entry *spl_ce_AppendIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_CachingIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_CallbackFilterIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_EmptyIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_FilterIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_InfiniteIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_IteratorIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_LimitIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_NoRewindIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_OuterIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_ParentIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_RecursiveCachingIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_RecursiveCallbackFilterIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_RecursiveFilterIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_RecursiveIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_RecursiveIteratorIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_RecursiveTreeIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_FilterIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_RecursiveFilterIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_ParentIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_SeekableIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_LimitIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_CachingIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_RecursiveCachingIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_OuterIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_IteratorIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_NoRewindIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_InfiniteIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_EmptyIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_AppendIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_RegexIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_RecursiveRegexIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_CallbackFilterIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_RecursiveCallbackFilterIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_RecursiveTreeIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_RegexIterator;
|
||||
extern PHPAPI zend_class_entry *spl_ce_SeekableIterator;
|
||||
|
||||
PHP_MINIT_FUNCTION(spl_iterators);
|
||||
|
||||
PHP_FUNCTION(iterator_to_array);
|
||||
PHP_FUNCTION(iterator_count);
|
||||
PHP_FUNCTION(iterator_apply);
|
||||
PHP_FUNCTION(iterator_count);
|
||||
PHP_FUNCTION(iterator_to_array);
|
||||
|
||||
typedef enum {
|
||||
DIT_Default = 0,
|
||||
|
Loading…
Reference in New Issue
Block a user