Skip to content

Commit 4616b58

Browse files
committed
Forward declare _zend_arena struct
1 parent a2fedf2 commit 4616b58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Zend/zend_compile.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,11 +768,13 @@ ZEND_API void function_add_ref(zend_function *function);
768768

769769

770770
/* helper functions in zend_language_scanner.l */
771+
struct _zend_arena;
772+
771773
ZEND_API zend_op_array *compile_file(zend_file_handle *file_handle, int type);
772774
ZEND_API zend_op_array *compile_string(zval *source_string, const char *filename);
773775
ZEND_API zend_op_array *compile_filename(int type, zval *filename);
774776
ZEND_API zend_ast *zend_compile_string_to_ast(
775-
zend_string *code, zend_arena **ast_arena, const char *filename);
777+
zend_string *code, struct _zend_arena **ast_arena, const char *filename);
776778
ZEND_API int zend_execute_scripts(int type, zval *retval, int file_count, ...);
777779
ZEND_API int open_file_for_scanning(zend_file_handle *file_handle);
778780
ZEND_API void init_op_array(zend_op_array *op_array, zend_uchar type, int initial_ops_size);

0 commit comments

Comments
 (0)