Go to the documentation of this file.
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_interface_call_res(iface, method_type, res, method, vers,...)
Invoke method named method in the callbacks on the given interface object.
Definition: hook.h:208
const char * spa_i18n_ntext(struct spa_i18n *i18n, const char *msgid, const char *msgid_plural, unsigned long int n)
Definition: build-12683127/doc/spa/support/i18n.h:83
Definition: build-12683127/doc/spa/support/i18n.h:45
Definition: build-12683127/doc/spa/support/i18n.h:43
#define SPA_LIKELY(x)
Definition: defs.h:234
uint32_t version
Definition: build-12683127/doc/spa/support/i18n.h:47
const char * spa_i18n_text(struct spa_i18n *i18n, const char *msgid)
Definition: build-12683127/doc/spa/support/i18n.h:72
struct spa_interface iface
Definition: build-12683127/doc/spa/support/i18n.h:43