ship pre-compiled locale files

This commit is contained in:
tildearrow 2024-05-31 19:55:56 -05:00
parent 3fc5979879
commit a68f572c23
22 changed files with 22 additions and 16 deletions

View file

@ -24,7 +24,7 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "libintl.h"
#include "momo.h"
static char curLocale[64];
static char tempPath[4096];

View file

@ -24,11 +24,13 @@
extern "C" {
#endif
#define MOMO_FORMATARG __attribute__((format_arg(1)))
const char* momo_setlocale(int type, const char* locale);
const char* momo_bindtextdomain(const char* domainName, const char* dirName);
const char* momo_textdomain(const char* domainName);
const char* momo_gettext(const char* str);
const char* momo_gettext(const char* str) MOMO_FORMATARG;
const char* momo_ngettext(const char* str1, const char* str2, unsigned long amount);
#ifdef __cplusplus