Overview
Comment: | Only use OF_VISIBILITY_HIDDEN with ELF and Mach-O |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
2b682c724ddded1fd51022ee688d3d61 |
User & Date: | js on 2024-11-03 15:55:39 |
Other Links: | manifest | tags |
Context
2024-11-03
| ||
15:56 | GitHub Actions: Add MinGW with GCC on Fedora check-in: a77bb2825d user: js tags: trunk | |
15:55 | Only use OF_VISIBILITY_HIDDEN with ELF and Mach-O check-in: 2b682c724d user: js tags: trunk | |
15:46 | ObjFWHID: Properly hide private methods check-in: bc3a7747d9 user: js tags: trunk | |
Changes
Modified src/macros.h from [5eb6f07bd0] to [8192233b66].
︙ | |||
95 96 97 98 99 100 101 | 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | - + | #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))) |
︙ |