10#define _(String) dgettext(GWION_PACKAGE, String)
12#define _(String) (String)
15#define container_of(ptr, type, member) \
16 ((type *)((char *)(ptr)-offsetof(type, member)))
18#define ANN __attribute__((nonnull))
19#define ANN2(...) __attribute__((nonnull(__VA_ARGS__)))
21#define ANEW __attribute__((malloc))
22#define NUSED __attribute__((unused))
29#define LOOP_OPTIM _Pragma("GCC ivdep")
30#define CC_OPTIM(a) __attribute__((optimize(#a)))
37#define likely(x) __builtin_expect(!!(x), 1)
38#define unlikely(x) __builtin_expect(!!(x), 0)
42 if (!f) return false; \
46 if (!f) return NULL; \
49#define DECL_B(decl, f, exp) \
52#define DECL_O(decl, f, exp) \
65 return i ? (
m_uint)floor(log10((
float)i) + 1) : 1;
static m_uint round2szint(const m_uint i)
static m_uint num_digit(const m_uint i)