From 9499484ed2f0377678b2b4d88573327ee0e4ce6d Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 14 Mar 2019 03:01:01 +0300 Subject: Implemented a faster way to access predefined TSRM resources - CG(), EG(), etc. --- main/php_main.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'main/php_main.h') diff --git a/main/php_main.h b/main/php_main.h index 8f440de820..6f2f9c5856 100644 --- a/main/php_main.h +++ b/main/php_main.h @@ -49,6 +49,12 @@ PHPAPI int php_stream_open_for_zend_ex(const char *filename, zend_file_handle *h /* environment module */ extern int php_init_environ(void); extern int php_shutdown_environ(void); + +#ifdef ZTS +PHPAPI void php_reserve_tsrm_memory(void); +PHPAPI int php_tsrm_startup(void); +#endif + END_EXTERN_C() #endif -- cgit v1.2.1