summaryrefslogtreecommitdiff
path: root/Zend/zend_list.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2017-12-14 13:50:39 +0300
committerDmitry Stogov <dmitry@zend.com>2017-12-14 13:50:39 +0300
commit175e461369efefc087f23fcba789c1c6cb1ee46a (patch)
tree9b6047cc179e6a6bba3fff0399b8c4d25dc18d77 /Zend/zend_list.h
parent3aceab825a391b26c03525fef5ae9a54d0e64f57 (diff)
downloadphp-git-175e461369efefc087f23fcba789c1c6cb1ee46a.tar.gz
Use fastcall calling convention for objects and resources API
Diffstat (limited to 'Zend/zend_list.h')
-rw-r--r--Zend/zend_list.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/zend_list.h b/Zend/zend_list.h
index cc813be557..bad9ad4b3b 100644
--- a/Zend/zend_list.h
+++ b/Zend/zend_list.h
@@ -54,10 +54,10 @@ void zend_destroy_rsrc_list(HashTable *ht);
int zend_init_rsrc_list_dtors(void);
void zend_destroy_rsrc_list_dtors(void);
-ZEND_API zval *zend_list_insert(void *ptr, int type);
-ZEND_API int zend_list_free(zend_resource *res);
-ZEND_API int zend_list_delete(zend_resource *res);
-ZEND_API int zend_list_close(zend_resource *res);
+ZEND_API zval* ZEND_FASTCALL zend_list_insert(void *ptr, int type);
+ZEND_API int ZEND_FASTCALL zend_list_free(zend_resource *res);
+ZEND_API int ZEND_FASTCALL zend_list_delete(zend_resource *res);
+ZEND_API int ZEND_FASTCALL zend_list_close(zend_resource *res);
ZEND_API zend_resource *zend_register_resource(void *rsrc_pointer, int rsrc_type);
ZEND_API void *zend_fetch_resource(zend_resource *res, const char *resource_type_name, int resource_type);