Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(551)

Side by Side Diff: fusl/include/libintl.h

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/include/libgen.h ('k') | fusl/include/limits.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #ifndef _LIBINTL_H
2 #define _LIBINTL_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #define __USE_GNU_GETTEXT 1
9 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 1 : -1)
10
11 #if __GNUC__ >= 3
12 #define __fa(n) __attribute__ ((__format_arg__ (n)))
13 #else
14 #define __fa(n)
15 #endif
16
17 char *gettext(const char *) __fa(1);
18 char *dgettext(const char *, const char *) __fa(2);
19 char *dcgettext(const char *, const char *, int) __fa(2);
20 char *ngettext(const char *, const char *, unsigned long) __fa(1) __fa(2);
21 char *dngettext(const char *, const char *, const char *, unsigned long) __fa(2) __fa(3);
22 char *dcngettext(const char *, const char *, const char *, unsigned long, int) _ _fa(2) __fa(3);
23 char *textdomain(const char *);
24 char *bindtextdomain (const char *, const char *);
25 char *bind_textdomain_codeset(const char *, const char *);
26
27 #undef __fa
28
29 #ifdef __cplusplus
30 }
31 #endif
32
33 #endif
OLDNEW
« no previous file with comments | « fusl/include/libgen.h ('k') | fusl/include/limits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698