Rizin
unix-like reverse engineering framework and cli tools
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
b
d
e
h
i
k
n
p
r
s
w
Properties
Events
Related Functions
Files
File List
File Members
All
$
.
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
.
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Events
Friends
Macros
Modules
Pages
tuklib_gettext.h
Go to the documentation of this file.
1
//
5
//
6
// Author: Lasse Collin
7
//
8
// This file has been put into the public domain.
9
// You can do whatever you want with this file.
10
//
12
13
#ifndef TUKLIB_GETTEXT_H
14
#define TUKLIB_GETTEXT_H
15
16
#include "
tuklib_common.h
"
17
#include <locale.h>
18
19
#ifndef TUKLIB_GETTEXT
20
# ifdef ENABLE_NLS
21
# define TUKLIB_GETTEXT 1
22
# else
23
# define TUKLIB_GETTEXT 0
24
# endif
25
#endif
26
27
#if TUKLIB_GETTEXT
28
# include <libintl.h>
29
# define tuklib_gettext_init(package, localedir) \
30
do { \
31
setlocale(LC_ALL, ""
); \
32
bindtextdomain(package, localedir); \
33
textdomain(package); \
34
} while (0)
35
# define _(msgid) gettext(msgid)
36
#else
37
# define tuklib_gettext_init(package, localedir) \
38
setlocale(LC_ALL, ""
)
39
# define _(msgid) (msgid)
40
# define ngettext(msgid1, msgid2, n) ((n) == 1 ? (msgid1) : (msgid2))
41
#endif
42
#define N_(msgid) msgid
43
44
#endif
tuklib_common.h
Common definitions for tuklib modules.
subprojects
xz-5.2.5
src
common
tuklib_gettext.h
Generated by
1.9.1