1 #ifndef DS_PRIORITY_QUEUE_ITERATOR_H 2 #define DS_PRIORITY_QUEUE_ITERATOR_H 3 4 #include "php.h" 5 #include "../../ds/ds_priority_queue.h" 6 7 typedef struct _php_ds_priority_queue_iterator { 8 zend_object_iterator intern; 9 zend_object *object; 10 ds_priority_queue_t *queue; 11 zend_long position; 12 } php_ds_priority_queue_iterator; 13 14 zend_object_iterator *php_ds_priority_queue_get_iterator(zend_class_entry *ce, zval *object, int by_ref); 15 16 #endif 17