1
0

libintl.h 881 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef _LIBINTL_H
  2. #define _LIBINTL_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #define __USE_GNU_GETTEXT 1
  7. #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 1 : -1)
  8. #if __GNUC__ >= 3
  9. #define __fa(n) __attribute__ ((__format_arg__ (n)))
  10. #else
  11. #define __fa(n)
  12. #endif
  13. char *gettext(const char *) __fa(1);
  14. char *dgettext(const char *, const char *) __fa(2);
  15. char *dcgettext(const char *, const char *, int) __fa(2);
  16. char *ngettext(const char *, const char *, unsigned long) __fa(1) __fa(2);
  17. char *dngettext(const char *, const char *, const char *, unsigned long) __fa(2) __fa(3);
  18. char *dcngettext(const char *, const char *, const char *, unsigned long, int) __fa(2) __fa(3);
  19. char *textdomain(const char *);
  20. char *bindtextdomain (const char *, const char *);
  21. char *bind_textdomain_codeset(const char *, const char *);
  22. #undef __fa
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26. #endif