PipeWire
1.0.5
Loading...
Searching...
No Matches
i18n.h
Go to the documentation of this file.
1
/* PipeWire */
2
/* SPDX-FileCopyrightText: Copyright © 2021 Wim Taymans */
3
/* SPDX-License-Identifier: MIT */
4
5
#ifndef PIPEWIRE_I18N_H
6
#define PIPEWIRE_I18N_H
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
20
#include <
spa/support/i18n.h
>
21
22
SPA_FORMAT_ARG_FUNC
(1) const
char
*
pw_gettext
(const
char
*msgid);
23
SPA_FORMAT_ARG_FUNC
(1) const
char
*
pw_ngettext
(const
char
*msgid, const
char
*msgid_plural,
unsigned
long
int
n);
24
25
#define _(String) (pw_gettext(String))
26
#define N_(String) (String)
27
32
#ifdef __cplusplus
33
}
34
#endif
35
36
#endif
/* PIPEWIRE_I18N_H */
pw_ngettext
const char * pw_ngettext(const char *msgid, const char *msgid_plural, unsigned long int n)
Definition
pipewire.c:427
pw_gettext
const char * pw_gettext(const char *msgid)
Definition
pipewire.c:422
SPA_FORMAT_ARG_FUNC
#define SPA_FORMAT_ARG_FUNC(arg1)
Definition
defs.h:279
i18n.h
spa/support/i18n.h
pipewire
i18n.h
Generated by
1.10.0