mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Zend/zend_closures: include cleanup
This commit is contained in:
parent
45384c6e20
commit
68ada76f9a
2 changed files with 13 additions and 7 deletions
|
@ -18,14 +18,11 @@
|
||||||
+----------------------------------------------------------------------+
|
+----------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "zend.h"
|
|
||||||
#include "zend_API.h"
|
|
||||||
#include "zend_closures.h"
|
#include "zend_closures.h"
|
||||||
#include "zend_exceptions.h"
|
#include "zend_API.h" //for ZEND_METHOD()
|
||||||
#include "zend_interfaces.h"
|
#include "zend_arena.h"
|
||||||
#include "zend_objects.h"
|
#include "zend_compile.h" // for union _zend_function
|
||||||
#include "zend_objects_API.h"
|
#include "zend_objects.h" // for zend_object_std_init()
|
||||||
#include "zend_globals.h"
|
|
||||||
#include "zend_closures_arginfo.h"
|
#include "zend_closures_arginfo.h"
|
||||||
|
|
||||||
typedef struct _zend_closure {
|
typedef struct _zend_closure {
|
||||||
|
|
|
@ -20,6 +20,15 @@
|
||||||
#ifndef ZEND_CLOSURES_H
|
#ifndef ZEND_CLOSURES_H
|
||||||
#define 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()
|
BEGIN_EXTERN_C()
|
||||||
|
|
||||||
/* This macro depends on zend_closure structure layout */
|
/* This macro depends on zend_closure structure layout */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue