File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1717 +----------------------------------------------------------------------+
1818*/
1919
20- #include "zend.h"
21- #include "zend_API.h"
20+ #include "zend_iterators.h"
21+ #include "zend_objects.h"
22+ #include "zend_object_handlers.h"
23+ #include "zend_API.h" // for INIT_CLASS_ENTRY
2224
2325static zend_class_entry zend_iterator_class_entry ;
2426
Original file line number Diff line number Diff line change 1717 +----------------------------------------------------------------------+
1818*/
1919
20+ #ifndef ZEND_ITERATORS_H
21+ #define ZEND_ITERATORS_H
22+
23+ #include "zend_types.h" // for zval
24+
2025/* These iterators were designed to operate within the foreach()
2126 * structures provided by the engine, but could be extended for use
2227 * with other iterative engine opcodes.
@@ -89,3 +94,5 @@ ZEND_API void zend_iterator_dtor(zend_object_iterator *iter);
8994
9095ZEND_API void zend_register_iterator_wrapper (void );
9196END_EXTERN_C ()
97+
98+ #endif /* ZEND_ITERATORS_H */
You can’t perform that action at this time.
0 commit comments