24#define SPA_TYPE_INTERFACE_I18N SPA_TYPE_INFO_INTERFACE_BASE "I18N"
26#define SPA_VERSION_I18N 0
30#define SPA_VERSION_I18N_METHODS 0
40 const char *(*text) (
void *object,
const char *msgid);
51 const char *(*ntext) (
void *object,
const char *msgid,
52 const char *msgid_plural,
unsigned long int n);
56static inline const
char *
59 const char *res = msgid;
67static inline const char *
69 const char *msgid_plural,
unsigned long int n)
71 const char *res = n == 1 ? msgid : msgid_plural;
75 ntext, 0, msgid, msgid_plural, n);
static const char * spa_i18n_ntext(struct spa_i18n *i18n, const char *msgid, const char *msgid_plural, unsigned long int n)
Definition: spa/include/spa/support/i18n.h:76
static const char * spa_i18n_text(struct spa_i18n *i18n, const char *msgid)
Definition: spa/include/spa/support/i18n.h:65
#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:251
#define SPA_LIKELY(x)
Definition: defs.h:345
#define SPA_FORMAT_ARG_FUNC(arg1)
Definition: defs.h:275
Definition: spa/include/spa/support/i18n.h:36
uint32_t version
Definition: spa/include/spa/support/i18n.h:39
Definition: spa/include/spa/support/i18n.h:34
struct spa_interface iface
Definition: spa/include/spa/support/i18n.h:34