Skip to content

Commit ecb87ca

Browse files
committed
Mark new zend_array_sort_ex() as ZEND_API
1 parent d82fa6a commit ecb87ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Zend/zend_hash.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3071,7 +3071,7 @@ ZEND_API void ZEND_FASTCALL zend_hash_sort_ex(HashTable *ht, sort_func_t sort, b
30713071
zend_hash_sort_internal(ht, sort, compar, renumber);
30723072
}
30733073

3074-
void ZEND_FASTCALL zend_array_sort_ex(HashTable *ht, sort_func_t sort, bucket_compare_func_t compar, bool renumber)
3074+
ZEND_API void ZEND_FASTCALL zend_array_sort_ex(HashTable *ht, sort_func_t sort, bucket_compare_func_t compar, bool renumber)
30753075
{
30763076
HT_ASSERT_RC1(ht);
30773077

Zend/zend_hash.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ ZEND_API void zend_hash_bucket_packed_swap(Bucket *p, Bucket *q);
299299
typedef int (*bucket_compare_func_t)(Bucket *a, Bucket *b);
300300
ZEND_API int zend_hash_compare(HashTable *ht1, HashTable *ht2, compare_func_t compar, bool ordered);
301301
ZEND_API void ZEND_FASTCALL zend_hash_sort_ex(HashTable *ht, sort_func_t sort_func, bucket_compare_func_t compare_func, bool renumber);
302-
void ZEND_FASTCALL zend_array_sort_ex(HashTable *ht, sort_func_t sort_func, bucket_compare_func_t compare_func, bool renumber);
302+
ZEND_API void ZEND_FASTCALL zend_array_sort_ex(HashTable *ht, sort_func_t sort_func, bucket_compare_func_t compare_func, bool renumber);
303303
ZEND_API zval* ZEND_FASTCALL zend_hash_minmax(const HashTable *ht, compare_func_t compar, uint32_t flag);
304304

305305
static zend_always_inline void ZEND_FASTCALL zend_hash_sort(HashTable *ht, bucket_compare_func_t compare_func, bool renumber) {

0 commit comments

Comments
 (0)