2014-08-14 19:39:17 +02:00
|
|
|
$#undef tolua_reg_types
|
|
|
|
$#define tolua_reg_types tolua_reg_types_locale
|
2014-06-14 16:52:32 +02:00
|
|
|
$#include "bind_locale.h"
|
|
|
|
|
|
|
|
module eressea {
|
|
|
|
module locale {
|
|
|
|
void locale_create @ create(const char *lang);
|
|
|
|
void locale_set @ set(const char *lang, const char *key, const char *str);
|
|
|
|
const char * locale_get @ get(const char *lang, const char *key);
|
2015-11-27 15:14:25 +01:00
|
|
|
int locale_direction @ direction(const char *lang, const char *str);
|
2014-06-14 16:52:32 +02:00
|
|
|
}
|
|
|
|
}
|