diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-09-18 04:59:01 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-09-18 04:59:01 +0400 |
commit | 5185baab3eaac254da1d81aaaaf4b1428a5a57e3 (patch) | |
tree | 87d0d88a1767ba57a376c70292046b89815c52f8 /Zend/zend_ts_hash.h | |
parent | 61d37e059f7eb9d94b20a109a8bf8f3195eb09d2 (diff) | |
download | php-git-5185baab3eaac254da1d81aaaaf4b1428a5a57e3.tar.gz |
Changed "inline" into "zend_always_inline"
Diffstat (limited to 'Zend/zend_ts_hash.h')
-rw-r--r-- | Zend/zend_ts_hash.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_ts_hash.h b/Zend/zend_ts_hash.h index 3d05dd572d..6cb36410b8 100644 --- a/Zend/zend_ts_hash.h +++ b/Zend/zend_ts_hash.h @@ -111,7 +111,7 @@ ZEND_API zval *_zend_ts_hash_str_add(TsHashTable *ht, const char *key, int len, #define zend_ts_hash_str_add(ht, key, len, pData) \ _zend_ts_hash_str_add(ht, key, len, pData ZEND_FILE_LINE_CC) -static inline void *zend_ts_hash_str_find_ptr(TsHashTable *ht, const char *str, int len) +static zend_always_inline void *zend_ts_hash_str_find_ptr(TsHashTable *ht, const char *str, int len) { zval *zv; @@ -119,7 +119,7 @@ static inline void *zend_ts_hash_str_find_ptr(TsHashTable *ht, const char *str, return zv ? Z_PTR_P(zv) : NULL; } -static inline void *zend_ts_hash_str_update_ptr(TsHashTable *ht, const char *str, int len, void *pData) +static zend_always_inline void *zend_ts_hash_str_update_ptr(TsHashTable *ht, const char *str, int len, void *pData) { zval tmp, *zv; @@ -128,7 +128,7 @@ static inline void *zend_ts_hash_str_update_ptr(TsHashTable *ht, const char *str return zv ? Z_PTR_P(zv) : NULL; } -static inline void *zend_ts_hash_str_add_ptr(TsHashTable *ht, const char *str, int len, void *pData) +static zend_always_inline void *zend_ts_hash_str_add_ptr(TsHashTable *ht, const char *str, int len, void *pData) { zval tmp, *zv; |