mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
export more Zend API
This commit is contained in:
parent
8c05e861d6
commit
1a1e83a5d9
5 changed files with 15 additions and 13 deletions
|
@ -919,7 +919,7 @@ ZEND_API char *get_zend_version(void) /* {{{ */
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
void zend_activate(TSRMLS_D) /* {{{ */
|
||||
ZEND_API void zend_activate(TSRMLS_D) /* {{{ */
|
||||
{
|
||||
#ifdef ZTS
|
||||
virtual_cwd_activate(TSRMLS_C);
|
||||
|
@ -939,7 +939,7 @@ void zend_call_destructors(TSRMLS_D) /* {{{ */
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
void zend_deactivate(TSRMLS_D) /* {{{ */
|
||||
ZEND_API void zend_deactivate(TSRMLS_D) /* {{{ */
|
||||
{
|
||||
/* we're no longer executing anything */
|
||||
EG(opline_ptr) = NULL;
|
||||
|
|
14
Zend/zend.h
14
Zend/zend.h
|
@ -651,12 +651,14 @@ ZEND_API void zend_print_zval_r_ex(zend_write_func_t write_func, zval *expr, int
|
|||
ZEND_API void zend_output_debug_string(zend_bool trigger_break, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 2, 3);
|
||||
END_EXTERN_C()
|
||||
|
||||
void zend_activate(TSRMLS_D);
|
||||
void zend_deactivate(TSRMLS_D);
|
||||
void zend_call_destructors(TSRMLS_D);
|
||||
void zend_activate_modules(TSRMLS_D);
|
||||
void zend_deactivate_modules(TSRMLS_D);
|
||||
void zend_post_deactivate_modules(TSRMLS_D);
|
||||
BEGIN_EXTERN_C()
|
||||
ZEND_API void zend_activate(TSRMLS_D);
|
||||
ZEND_API void zend_deactivate(TSRMLS_D);
|
||||
ZEND_API void zend_call_destructors(TSRMLS_D);
|
||||
ZEND_API void zend_activate_modules(TSRMLS_D);
|
||||
ZEND_API void zend_deactivate_modules(TSRMLS_D);
|
||||
ZEND_API void zend_post_deactivate_modules(TSRMLS_D);
|
||||
END_EXTERN_C()
|
||||
|
||||
#if ZEND_DEBUG
|
||||
#define Z_DBG(expr) (expr)
|
||||
|
|
|
@ -2381,7 +2381,7 @@ void module_destructor(zend_module_entry *module) /* {{{ */
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
void zend_activate_modules(TSRMLS_D) /* {{{ */
|
||||
ZEND_API void zend_activate_modules(TSRMLS_D) /* {{{ */
|
||||
{
|
||||
zend_module_entry **p = module_request_startup_handlers;
|
||||
|
||||
|
@ -2410,7 +2410,7 @@ int module_registry_cleanup(zend_module_entry *module TSRMLS_DC) /* {{{ */
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
void zend_deactivate_modules(TSRMLS_D) /* {{{ */
|
||||
ZEND_API void zend_deactivate_modules(TSRMLS_D) /* {{{ */
|
||||
{
|
||||
EG(opline_ptr) = NULL; /* we're no longer executing anything */
|
||||
|
||||
|
@ -2457,7 +2457,7 @@ static int exec_done_cb(zend_module_entry *module TSRMLS_DC) /* {{{ */
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
void zend_post_deactivate_modules(TSRMLS_D) /* {{{ */
|
||||
ZEND_API void zend_post_deactivate_modules(TSRMLS_D) /* {{{ */
|
||||
{
|
||||
if (EG(full_tables_cleanup)) {
|
||||
zend_hash_apply(&module_registry, (apply_func_t) exec_done_cb TSRMLS_CC);
|
||||
|
|
|
@ -1678,7 +1678,7 @@ static zend_always_inline zend_execute_data *i_create_execute_data_from_op_array
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
zend_execute_data *zend_create_execute_data_from_op_array(zend_op_array *op_array, zend_bool nested TSRMLS_DC) /* {{{ */
|
||||
ZEND_API zend_execute_data *zend_create_execute_data_from_op_array(zend_op_array *op_array, zend_bool nested TSRMLS_DC) /* {{{ */
|
||||
{
|
||||
return i_create_execute_data_from_op_array(op_array, nested TSRMLS_CC);
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@ ZEND_API extern void (*zend_execute_internal)(zend_execute_data *execute_data_pt
|
|||
void init_executor(TSRMLS_D);
|
||||
void shutdown_executor(TSRMLS_D);
|
||||
void shutdown_destructors(TSRMLS_D);
|
||||
zend_execute_data *zend_create_execute_data_from_op_array(zend_op_array *op_array, zend_bool nested TSRMLS_DC);
|
||||
ZEND_API zend_execute_data *zend_create_execute_data_from_op_array(zend_op_array *op_array, zend_bool nested TSRMLS_DC);
|
||||
ZEND_API void zend_execute(zend_op_array *op_array TSRMLS_DC);
|
||||
ZEND_API void execute_ex(zend_execute_data *execute_data TSRMLS_DC);
|
||||
ZEND_API void execute_internal(zend_execute_data *execute_data_ptr, struct _zend_fcall_info *fci, int return_value_used TSRMLS_DC);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue