#include #include #include "list.h" // kernel includes #include #include // lua includes #include #include #include using namespace luabind; static eressea::list get_alliances(void) { return eressea::list(alliances); } void bind_alliance(lua_State * L) { module(L)[ def("alliances", &get_alliances, return_stl_iterator), def("get_alliance", &findalliance), class_("alliance") .def_readonly("name", &alliance::name) .def_readonly("id", &alliance::id) ]; }