Differences From Artifact [e71e68e9ff]:
- File
src/macros.h
— part of check-in
[0c3c3b6efa]
at
2024-05-01 15:19:55
on branch trunk
— Document a lot of undocumented functions & macros
Also fixes Doxygen not creating documentation for `static OF_INLINE`
functions. (user: js, size: 25888) [annotate] [blame] [check-ins using] [more...]
To Artifact [cdc40153f2]:
- File src/macros.h — part of check-in [c540d53637] at 2024-08-26 21:12:35 on branch 1.1 — Fix compiling with DJGPP (user: js, size: 25919) [annotate] [blame] [check-ins using] [more...]
︙ | |||
95 96 97 98 99 100 101 | 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | - + + + + + | #ifdef __GNUC__ # define OF_INLINE inline __attribute__((__always_inline__)) # define OF_LIKELY(cond) (__builtin_expect(!!(cond), 1)) # define OF_UNLIKELY(cond) (__builtin_expect(!!(cond), 0)) # define OF_CONST_FUNC __attribute__((__const__)) # define OF_NO_RETURN_FUNC __attribute__((__noreturn__)) # define OF_WEAK_REF(sym) __attribute__((__weakref__(sym))) |
︙ |