提交 97e7f8f3 编写于 作者: B Behdad Esfahbod

Add CONST_FUNC annotation

上级 494d28ad
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
* in libgcc in case a target does not have one, which should be just as * in libgcc in case a target does not have one, which should be just as
* good as the open-coded solution below, (which is "HACKMEM 169"). * good as the open-coded solution below, (which is "HACKMEM 169").
*/ */
static inline unsigned int static inline HB_CONST_FUNC unsigned int
_hb_popcount32 (uint32_t mask) _hb_popcount32 (uint32_t mask)
{ {
#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) #if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册