Skip to content

Commit 503c32e

Browse files
committed
Export zend_quick_get_constant()
1 parent d1f9d37 commit 503c32e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Zend/zend_constants.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ ZEND_API zval *zend_get_constant_ex(zend_string *cname, zend_class_entry *scope,
438438
}
439439
}
440440

441-
zend_constant *zend_quick_get_constant(const zval *key, uint32_t flags)
441+
ZEND_API zend_constant* ZEND_FASTCALL zend_quick_get_constant(const zval *key, uint32_t flags)
442442
{
443443
zend_constant *c;
444444

Zend/zend_constants.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ ZEND_API void zend_register_string_constant(const char *name, size_t name_len, c
7777
ZEND_API void zend_register_stringl_constant(const char *name, size_t name_len, char *strval, size_t strlen, int flags, int module_number);
7878
ZEND_API int zend_register_constant(zend_constant *c);
7979
void zend_copy_constants(HashTable *target, HashTable *sourc);
80-
zend_constant *zend_quick_get_constant(const zval *key, uint32_t flags);
80+
ZEND_API zend_constant* ZEND_FASTCALL zend_quick_get_constant(const zval *key, uint32_t flags);
8181
END_EXTERN_C()
8282

8383
#define ZEND_CONSTANT_DTOR free_zend_constant

0 commit comments

Comments
 (0)