1
0
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:
Max Kellermann
2023-01-04 20:24:56 +01:00
committed by George Peter Banyard
parent 05c7653bba
commit 29b2dc8964
2 changed files with 11 additions and 2 deletions

View File

@@ -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;

View File

@@ -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 */