forked from github/server
didn't like binding int and double with same name. why?
This commit is contained in:
parent
57cb0c73fc
commit
9be2d7b33d
1 changed files with 2 additions and 2 deletions
|
@ -110,8 +110,8 @@ bind_objects(struct lua_State * L)
|
|||
.def("set", (void(objects::*)(const char*, building&))&objects::set<building&, TBUILDING>)
|
||||
.def("set", (void(objects::*)(const char*, ship&))&objects::set<ship&, TSHIP>)
|
||||
// POD:
|
||||
.def("set", (void(objects::*)(const char*, int))&objects::set<int, TINTEGER>)
|
||||
.def("set", (void(objects::*)(const char*, double))&objects::set<double, TREAL>)
|
||||
// .def("set", (void(objects::*)(const char*, int))&objects::set<int, TINTEGER>)
|
||||
.def("set", (void(objects::*)(const char*, double))&objects::set<lua_Number, TREAL>)
|
||||
.def("set", (void(objects::*)(const char*, const char *))&objects::set<const char *, TSTRING>)
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue