GRASS 8 Programmer's Manual
8.5.0dev(2025)-c070206eb1
defs/glocale.h
Go to the documentation of this file.
1
#ifndef GRASS_GLOCALEDEFS_H
2
#define GRASS_GLOCALEDEFS_H
3
4
#if !defined __GNUC__ || __GNUC__ < 2
5
#undef __attribute__
6
#define __attribute__(x)
7
#endif
8
9
extern
void
G_init_locale
(
void
);
10
extern
char
*
G_gettext
(
const
char
*,
const
char
*)
11
__attribute__
((format_arg(2)));
12
extern
char
*
G_ngettext
(
const
char
*,
const
char
*,
const
char
*,
13
unsigned
long
int
)
14
__attribute__
((format_arg(2), format_arg(3)));
15
16
#endif
G_ngettext
char * G_ngettext(const char *, const char *, const char *, unsigned long int)
Gets localized text with correct plural forms.
Definition:
locale.c:85
G_gettext
char * G_gettext(const char *, const char *)
Gets localized text.
Definition:
locale.c:65
G_init_locale
void G_init_locale(void)
Definition:
locale.c:29
__attribute__
#define __attribute__(x)
Definition:
defs/glocale.h:6
include
grass
defs
glocale.h
Generated on Sat Aug 30 2025 07:00:34 for GRASS 8 Programmer's Manual by
1.9.1