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
char * G_ngettext(const char *, const char *, const char *, unsigned long int)
Gets localized text with correct plural forms.
Definition: locale.c:85
char * G_gettext(const char *, const char *)
Gets localized text.
Definition: locale.c:65
void G_init_locale(void)
Definition: locale.c:29
#define __attribute__(x)
Definition: defs/glocale.h:6