1 | #pragma once |
---|---|
2 | |
3 | #define weak __attribute__((__weak__)) |
4 | #define hidden __attribute__((__visibility__("hidden"))) |
5 | #define weak_alias(old, new) \ |
6 | extern __typeof(old) new __attribute__((__weak__, __alias__(#old))) |
7 | |
8 | #define predict_false(x) __builtin_expect(x, 0) |
9 |