@@ -74,17 +74,17 @@ ZEND_API zend_class_entry *zend_standard_class_def = NULL;
74
74
ZEND_API size_t (* zend_printf )(const char * format , ...);
75
75
ZEND_API zend_write_func_t zend_write ;
76
76
ZEND_API FILE * (* zend_fopen )(const char * filename , zend_string * * opened_path );
77
- ZEND_API ZEND_RESULT_CODE (* zend_stream_open_function )(const char * filename , zend_file_handle * handle );
77
+ ZEND_API zend_result (* zend_stream_open_function )(const char * filename , zend_file_handle * handle );
78
78
ZEND_API void (* zend_ticks_function )(int ticks );
79
79
ZEND_API void (* zend_interrupt_function )(zend_execute_data * execute_data );
80
80
ZEND_API void (* zend_error_cb )(int type , const char * error_filename , const uint32_t error_lineno , zend_string * message );
81
81
void (* zend_printf_to_smart_string )(smart_string * buf , const char * format , va_list ap );
82
82
void (* zend_printf_to_smart_str )(smart_str * buf , const char * format , va_list ap );
83
83
ZEND_API char * (* zend_getenv )(const char * name , size_t name_len );
84
84
ZEND_API zend_string * (* zend_resolve_path )(const char * filename , size_t filename_len );
85
- ZEND_API ZEND_RESULT_CODE (* zend_post_startup_cb )(void ) = NULL ;
85
+ ZEND_API zend_result (* zend_post_startup_cb )(void ) = NULL ;
86
86
ZEND_API void (* zend_post_shutdown_cb )(void ) = NULL ;
87
- ZEND_API ZEND_RESULT_CODE (* zend_preload_autoload )(zend_string * filename ) = NULL ;
87
+ ZEND_API zend_result (* zend_preload_autoload )(zend_string * filename ) = NULL ;
88
88
89
89
/* This callback must be signal handler safe! */
90
90
void (* zend_on_timeout )(int seconds );
@@ -1018,7 +1018,7 @@ static void zend_resolve_property_types(void) /* {{{ */
1018
1018
/* Unlink the global (r/o) copies of the class, function and constant tables,
1019
1019
* and use a fresh r/w copy for the startup thread
1020
1020
*/
1021
- ZEND_RESULT_CODE zend_post_startup (void ) /* {{{ */
1021
+ zend_result zend_post_startup (void ) /* {{{ */
1022
1022
{
1023
1023
#ifdef ZTS
1024
1024
zend_encoding * * script_encoding_list ;
@@ -1030,7 +1030,7 @@ ZEND_RESULT_CODE zend_post_startup(void) /* {{{ */
1030
1030
zend_resolve_property_types ();
1031
1031
1032
1032
if (zend_post_startup_cb ) {
1033
- ZEND_RESULT_CODE (* cb )(void ) = zend_post_startup_cb ;
1033
+ zend_result (* cb )(void ) = zend_post_startup_cb ;
1034
1034
1035
1035
zend_post_startup_cb = NULL ;
1036
1036
if (cb () != SUCCESS ) {
@@ -1662,13 +1662,13 @@ ZEND_API ZEND_COLD void zend_user_exception_handler(void) /* {{{ */
1662
1662
}
1663
1663
} /* }}} */
1664
1664
1665
- ZEND_API ZEND_RESULT_CODE zend_execute_scripts (int type , zval * retval , int file_count , ...) /* {{{ */
1665
+ ZEND_API zend_result zend_execute_scripts (int type , zval * retval , int file_count , ...) /* {{{ */
1666
1666
{
1667
1667
va_list files ;
1668
1668
int i ;
1669
1669
zend_file_handle * file_handle ;
1670
1670
zend_op_array * op_array ;
1671
- ZEND_RESULT_CODE ret = SUCCESS ;
1671
+ zend_result ret = SUCCESS ;
1672
1672
1673
1673
va_start (files , file_count );
1674
1674
for (i = 0 ; i < file_count ; i ++ ) {
0 commit comments