40 #define SPA_TYPE_INTERFACE_I18N SPA_TYPE_INFO_INTERFACE_BASE "I18N" 42 #define SPA_VERSION_I18N 0 46 #define SPA_VERSION_I18N_METHODS 0 56 const char *(*text) (
void *object,
const char *msgid);
67 const char *(*ntext) (
void *object,
const char *msgid,
68 const char *msgid_plural,
unsigned long int n);
74 const char *
res = msgid;
84 const char *msgid_plural,
unsigned long int n)
86 const char *
res = n == 1 ? msgid : msgid_plural;
90 ntext, 0, msgid, msgid_plural, n);
#define SPA_LIKELY(x)
Definition: defs.h:231
struct spa_interface iface
Definition: x86_64-redhat-linux-gnu/doc/spa/support/i18n.h:43
#define spa_interface_call_res(iface, type, res, method, vers,...)
Definition: hook.h:170
static uint32_t int int res
Definition: core.h:328
Definition: x86_64-redhat-linux-gnu/doc/spa/support/i18n.h:45
const char * spa_i18n_ntext(struct spa_i18n *i18n, const char *msgid, const char *msgid_plural, unsigned long int n)
Definition: x86_64-redhat-linux-gnu/doc/spa/support/i18n.h:83
char text[512]
Definition: log-impl.h:53
Definition: x86_64-redhat-linux-gnu/doc/spa/support/i18n.h:43
const char * spa_i18n_text(struct spa_i18n *i18n, const char *msgid)
Definition: x86_64-redhat-linux-gnu/doc/spa/support/i18n.h:72
uint32_t version
Definition: x86_64-redhat-linux-gnu/doc/spa/support/i18n.h:47