mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Zend/zend_iterators: include cleanup
This commit is contained in:
committed by
George Peter Banyard
parent
05c7653bba
commit
29b2dc8964
@@ -17,8 +17,10 @@
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
#include "zend.h"
|
||||
#include "zend_API.h"
|
||||
#include "zend_iterators.h"
|
||||
#include "zend_objects.h"
|
||||
#include "zend_object_handlers.h"
|
||||
#include "zend_API.h" // for INIT_CLASS_ENTRY
|
||||
|
||||
static zend_class_entry zend_iterator_class_entry;
|
||||
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
#ifndef ZEND_ITERATORS_H
|
||||
#define ZEND_ITERATORS_H
|
||||
|
||||
#include "zend_types.h" // for zval
|
||||
|
||||
/* These iterators were designed to operate within the foreach()
|
||||
* structures provided by the engine, but could be extended for use
|
||||
* with other iterative engine opcodes.
|
||||
@@ -89,3 +94,5 @@ ZEND_API void zend_iterator_dtor(zend_object_iterator *iter);
|
||||
|
||||
ZEND_API void zend_register_iterator_wrapper(void);
|
||||
END_EXTERN_C()
|
||||
|
||||
#endif /* ZEND_ITERATORS_H */
|
||||
|
||||
Reference in New Issue
Block a user