server/src/eressea.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

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);
}