forked from github/server
804734d013
make a single object from all generated binding code. this setup is unusual, but easier to maintain.
12 lines
500 B
Text
Executable file
12 lines
500 B
Text
Executable file
$#undef tolua_reg_types
|
|
$#define tolua_reg_types tolua_reg_types_eressea
|
|
$#include "bind_eressea.h"
|
|
|
|
module eressea {
|
|
void eressea_free_game @ free_game(void);
|
|
int eressea_read_game @ read_game(const char * filename);
|
|
int eressea_write_game @ write_game(const char * filename);
|
|
int eressea_read_orders @ read_orders(const char * filename);
|
|
int eressea_export_json @ export(const char * filename, unsigned int flags);
|
|
int eressea_import_json @ import(const char * filename);
|
|
}
|