| 1 | diff -N -u -r /home/fornwall/lib/android-ndk/sources/android/support/include/libintl.h ./include/libintl.h |
| 2 | --- /home/fornwall/lib/android-ndk/sources/android/support/include/libintl.h 1969-12-31 19:00:00.000000000 -0500 |
| 3 | +++ ./include/libintl.h 2014-11-27 10:50:18.306215538 -0500 |
| 4 | @@ -0,0 +1,39 @@ |
| 5 | +#ifndef NDK_ANDROID_SUPPORT_LIBINTL_H |
| 6 | +#define NDK_ANDROID_SUPPORT_LIBINTL_H |
| 7 | + |
| 8 | +#ifdef __cplusplus |
| 9 | +extern "C" { |
| 10 | +#endif |
| 11 | + |
| 12 | +/* Look up MSGID in the current default message catalog for the current LC_MESSAGES locale. If not found, returns MSGID itself (the default text). */ |
| 13 | +char *gettext (const char *__msgid); |
| 14 | + |
| 15 | +/* Look up MSGID in the DOMAINNAME message catalog for the current LC_MESSAGES locale. */ |
| 16 | +char *dgettext (const char *__domainname, const char *__msgid); |
| 17 | + |
| 18 | +/* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY locale. */ |
| 19 | +char *dcgettext (const char *__domainname, const char *__msgid, int __category); |
| 20 | + |
| 21 | +/* Similar to `gettext' but select the plural form corresponding to the number N. */ |
| 22 | +char *ngettext (const char *__msgid1, const char *__msgid2, unsigned long int __n); |
| 23 | + |
| 24 | +/* Similar to `dgettext' but select the plural form corresponding to the number N. */ |
| 25 | +char *dngettext (const char *__domainname, const char *__msgid1, const char *__msgid2, unsigned long int __n); |
| 26 | + |
| 27 | +/* Similar to `dcgettext' but select the plural form corresponding to the number N. */ |
| 28 | +char *dcngettext (const char *__domainname, const char *__msgid1, const char *__msgid2, unsigned long int __n, int __category); |
| 29 | + |
| 30 | +/* Set the current default message catalog to DOMAINNAME. If DOMAINNAME is null, return the current default. If DOMAINNAME is "", reset to the default of "messages". */ |
| 31 | +char *textdomain (const char *__domainname); |
| 32 | + |
| 33 | +/* Specify that the DOMAINNAME message catalog will be found in DIRNAME rather than in the system locale data base. */ |
| 34 | +char *bindtextdomain (const char *__domainname, const char *__dirname); |
| 35 | + |
| 36 | +/* Specify the character encoding in which the messages from the DOMAINNAME message catalog will be returned. */ |
| 37 | +char *bind_textdomain_codeset (const char *__domainname, const char *__codeset); |
| 38 | + |
| 39 | +#ifdef __cplusplus |
| 40 | +} |
| 41 | +#endif |
| 42 | + |
| 43 | +#endif // NDK_ANDROID_SUPPORT_LIBINTL_H |