summaryrefslogtreecommitdiff
path: root/Zend/zend_variables.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2018-07-06 19:14:44 +0800
committerXinchen Hui <laruence@gmail.com>2018-07-06 19:15:26 +0800
commit9d1e9b73c5694b979b13660bc5b9e7a1c6c26104 (patch)
tree80e14db5769af751e0f4ca2f1faa6d40f215802d /Zend/zend_variables.c
parentf9297387f434b91e75db64ea32df8f22ee98bcde (diff)
downloadphp-git-9d1e9b73c5694b979b13660bc5b9e7a1c6c26104.tar.gz
rename ref_dtor_func to rc_dtor_func
Diffstat (limited to 'Zend/zend_variables.c')
-rw-r--r--Zend/zend_variables.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/Zend/zend_variables.c b/Zend/zend_variables.c
index aa543694d8..bd292450d7 100644
--- a/Zend/zend_variables.c
+++ b/Zend/zend_variables.c
@@ -44,27 +44,27 @@ static void ZEND_FASTCALL zend_ast_ref_destroy_wrapper(zend_ast_ref *ast ZEND_FI
# define zend_ast_ref_destroy_wrapper zend_ast_ref_destroy
#endif
-typedef void (ZEND_FASTCALL *zend_ref_dtor_func_t)(zend_refcounted *p ZEND_FILE_LINE_DC);
-
-static const zend_ref_dtor_func_t zend_ref_dtor_func[] = {
- /* IS_UNDEF */ (zend_ref_dtor_func_t)zend_empty_destroy,
- /* IS_NULL */ (zend_ref_dtor_func_t)zend_empty_destroy,
- /* IS_FALSE */ (zend_ref_dtor_func_t)zend_empty_destroy,
- /* IS_TRUE */ (zend_ref_dtor_func_t)zend_empty_destroy,
- /* IS_LONG */ (zend_ref_dtor_func_t)zend_empty_destroy,
- /* IS_DOUBLE */ (zend_ref_dtor_func_t)zend_empty_destroy,
- /* IS_STRING */ (zend_ref_dtor_func_t)zend_string_destroy,
- /* IS_ARRAY */ (zend_ref_dtor_func_t)zend_array_destroy_wrapper,
- /* IS_OBJECT */ (zend_ref_dtor_func_t)zend_object_destroy_wrapper,
- /* IS_RESOURCE */ (zend_ref_dtor_func_t)zend_resource_destroy_wrapper,
- /* IS_REFERENCE */ (zend_ref_dtor_func_t)zend_reference_destroy,
- /* IS_CONSTANT_AST */ (zend_ref_dtor_func_t)zend_ast_ref_destroy_wrapper
+typedef void (ZEND_FASTCALL *zend_rc_dtor_func_t)(zend_refcounted *p ZEND_FILE_LINE_DC);
+
+static const zend_rc_dtor_func_t zend_rc_dtor_func[] = {
+ /* IS_UNDEF */ (zend_rc_dtor_func_t)zend_empty_destroy,
+ /* IS_NULL */ (zend_rc_dtor_func_t)zend_empty_destroy,
+ /* IS_FALSE */ (zend_rc_dtor_func_t)zend_empty_destroy,
+ /* IS_TRUE */ (zend_rc_dtor_func_t)zend_empty_destroy,
+ /* IS_LONG */ (zend_rc_dtor_func_t)zend_empty_destroy,
+ /* IS_DOUBLE */ (zend_rc_dtor_func_t)zend_empty_destroy,
+ /* IS_STRING */ (zend_rc_dtor_func_t)zend_string_destroy,
+ /* IS_ARRAY */ (zend_rc_dtor_func_t)zend_array_destroy_wrapper,
+ /* IS_OBJECT */ (zend_rc_dtor_func_t)zend_object_destroy_wrapper,
+ /* IS_RESOURCE */ (zend_rc_dtor_func_t)zend_resource_destroy_wrapper,
+ /* IS_REFERENCE */ (zend_rc_dtor_func_t)zend_reference_destroy,
+ /* IS_CONSTANT_AST */ (zend_rc_dtor_func_t)zend_ast_ref_destroy_wrapper
};
-ZEND_API void ZEND_FASTCALL _ref_dtor_func(zend_refcounted *p ZEND_FILE_LINE_DC)
+ZEND_API void ZEND_FASTCALL _rc_dtor_func(zend_refcounted *p ZEND_FILE_LINE_DC)
{
ZEND_ASSERT(GC_TYPE(p) <= IS_CONSTANT_AST);
- zend_ref_dtor_func[GC_TYPE(p)](p ZEND_FILE_LINE_RELAY_CC);
+ zend_rc_dtor_func[GC_TYPE(p)](p ZEND_FILE_LINE_RELAY_CC);
}
static void ZEND_FASTCALL zend_string_destroy(zend_string *str ZEND_FILE_LINE_DC)