11#define _(String) dgettext(GWION_PACKAGE, String)
13#define _(String) (String)
16#define container_of(ptr, type, member) \
17 ((type *)((char *)(ptr)-offsetof(type, member)))
19#define ANN __attribute__((nonnull))
20#define ANN2(...) __attribute__((nonnull(__VA_ARGS__)))
22#define ANEW __attribute__((malloc))
23#define NUSED __attribute__((unused))
30#define LOOP_OPTIM _Pragma("GCC ivdep")
31#define CC_OPTIM(a) __attribute__((optimize(#a)))
38#define likely(x) __builtin_expect(!!(x), 1)
39#define unlikely(x) __builtin_expect(!!(x), 0)
43 if (!f) return false; \
47 if (!f) return NULL; \
50#define DECL_B(decl, f, exp) \
53#define DECL_O(decl, f, exp) \
66 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)