1 #ifndef DS_PRIORITY_QUEUE_CE_H 2 #define DS_PRIORITY_QUEUE_CE_H 3 4 #include "php.h" 5 #include "../../common.h" 6 #include "../arginfo.h" 7 8 extern zend_class_entry *php_ds_priority_queue_ce; 9 10 ARGINFO_NONE( PriorityQueue___construct); 11 ARGINFO_LONG( PriorityQueue_allocate, capacity); 12 ARGINFO_NONE_RETURN_LONG( PriorityQueue_capacity); 13 ARGINFO_NONE_RETURN_DS( PriorityQueue_copy, PriorityQueue); 14 ARGINFO_ZVAL_ZVAL( PriorityQueue_push, value, priority); 15 ARGINFO_NONE( PriorityQueue_pop); 16 ARGINFO_NONE( PriorityQueue_peek); 17 ARGINFO_NONE_RETURN_OBJ( PriorityQueue_getIterator, Traversable); 18 19 void php_ds_register_priority_queue(); 20 21 #endif 22