forked from github/server
804734d013
make a single object from all generated binding code. this setup is unusual, but easier to maintain.
12 lines
329 B
Text
12 lines
329 B
Text
$#undef tolua_reg_types
|
|
$#define tolua_reg_types tolua_reg_types_log
|
|
$#include <util/log.h>
|
|
|
|
module eressea {
|
|
module log {
|
|
void log_error @ error(const char *message);
|
|
void log_debug @ debug(const char *message);
|
|
void log_warning @ warning(const char *message);
|
|
void log_info @ info(const char *message);
|
|
}
|
|
}
|