Zend/zend_closures: include cleanup

This commit is contained in:
Max Kellermann 2023-01-05 10:09:39 +01:00 committed by George Peter Banyard
parent 45384c6e20
commit 68ada76f9a
2 changed files with 13 additions and 7 deletions

View file

@ -18,14 +18,11 @@
+----------------------------------------------------------------------+
*/
#include "zend.h"
#include "zend_API.h"
#include "zend_closures.h"
#include "zend_exceptions.h"
#include "zend_interfaces.h"
#include "zend_objects.h"
#include "zend_objects_API.h"
#include "zend_globals.h"
#include "zend_API.h" //for ZEND_METHOD()
#include "zend_arena.h"
#include "zend_compile.h" // for union _zend_function
#include "zend_objects.h" // for zend_object_std_init()
#include "zend_closures_arginfo.h"
typedef struct _zend_closure {

View file

@ -20,6 +20,15 @@
#ifndef ZEND_CLOSURES_H
#define ZEND_CLOSURES_H
#include "zend_portability.h" // for BEGIN_EXTERN_C
typedef struct _zend_class_entry zend_class_entry;
typedef struct _zend_execute_data zend_execute_data;
typedef union _zend_function zend_function;
typedef struct _zend_object zend_object;
typedef struct _zend_string zend_string;
typedef struct _zval_struct zval;
BEGIN_EXTERN_C()
/* This macro depends on zend_closure structure layout */