forked from github/server
804734d013
make a single object from all generated binding code. this setup is unusual, but easier to maintain.
11 lines
340 B
Text
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);
|
|
}
|
|
}
|