summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.h
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_compile.h')
-rw-r--r--Zend/zend_compile.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h
index 44035a67ff..4264232bc4 100644
--- a/Zend/zend_compile.h
+++ b/Zend/zend_compile.h
@@ -409,6 +409,9 @@ struct _zend_op_array {
#define ZEND_RETURN_VALUE 0
#define ZEND_RETURN_REFERENCE 1
+/* zend_internal_function_handler */
+typedef void (*zif_handler)(INTERNAL_FUNCTION_PARAMETERS);
+
typedef struct _zend_internal_function {
/* Common elements */
zend_uchar type;
@@ -422,7 +425,7 @@ typedef struct _zend_internal_function {
zend_internal_arg_info *arg_info;
/* END of common elements */
- void (*handler)(INTERNAL_FUNCTION_PARAMETERS);
+ zif_handler handler;
struct _zend_module_entry *module;
void *reserved[ZEND_MAX_RESERVED_RESOURCES];
} zend_internal_function;