From 0a2ecbcc39496f95e1e86bd7bd9073f02dd8d502 Mon Sep 17 00:00:00 2001 From: Joe Hoyle Date: Wed, 19 Jul 2023 13:00:24 +0200 Subject: [PATCH] Add helper function --- src/wrapper.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wrapper.h b/src/wrapper.h index 62e6fa9..85d8d21 100644 --- a/src/wrapper.h +++ b/src/wrapper.h @@ -24,6 +24,7 @@ #include "zend_interfaces.h" #include "SAPI.h" #include "php_variables.h" +#include "file.h" zend_string *ext_php_rs_zend_string_init(const char *str, size_t len, bool persistent); void ext_php_rs_zend_string_release(zend_string *zs); @@ -36,3 +37,4 @@ void ext_php_rs_zend_object_release(zend_object *obj); zend_executor_globals *ext_php_rs_executor_globals(); php_core_globals *ext_php_rs_process_globals(); sapi_globals_struct *ext_php_rs_sapi_globals(); +php_file_globals *ext_php_rs_file_globals();