1 #ifndef DS_DEQUE_ITERATOR_H
2 #define DS_DEQUE_ITERATOR_H
3 
4 #include "php.h"
5 #include "../../ds/ds_deque.h"
6 
7 typedef struct php_ds_deque_iterator {
8     zend_object_iterator    intern;
9     zend_object            *object;
10     ds_deque_t             *deque;
11     zend_long               position;
12 } php_ds_deque_iterator_t;
13 
14 zend_object_iterator *php_ds_deque_get_iterator(zend_class_entry *ce, zval *obj, int by_ref);
15 
16 #endif
17