server/src/locale.pkg
Enno Rehling 804734d013 MSVC: disable level 4 warning C4100 for tolua-generated code (unused variable)
make a single object from all generated binding code.
this setup is unusual, but easier to maintain.
2014-08-14 19:39:17 +02:00

11 lines
340 B
Text

$#undef tolua_reg_types
$#define tolua_reg_types tolua_reg_types_locale
$#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);
}
}