1 #ifndef DS_STACK_ITERATOR_H
2 #define DS_STACK_ITERATOR_H
3 
4 #include "php.h"
5 #include "../objects/php_stack.h"
6 
7 typedef struct _php_ds_stack_iterator_t {
8     zend_object_iterator     intern;
9     zend_long                position;
10     zend_object             *object;
11     ds_stack_t              *stack;
12 } php_ds_stack_iterator_t;
13 
14 zend_object_iterator *php_ds_stack_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
15 
16 #endif
17