further copy edits

This commit is contained in:
Dennis Luxen
2014-02-17 09:29:29 +01:00
parent c71c8b0047
commit d0349d9b0d
4 changed files with 9 additions and 8 deletions
+2 -2
View File
@@ -58,7 +58,7 @@ ScriptingEnvironment::ScriptingEnvironment(const char * fileName) {
// Add our function to the state's global scope
luabind::module(myLuaState) [
luabind::def("print", LUA_print<std::string>),
luabind::def("parseMaxspeed", parseMaxspeed),
// luabind::def("parseMaxspeed", parseMaxspeed),
luabind::def("durationIsValid", durationIsValid),
luabind::def("parseDuration", parseDuration)
];
@@ -66,7 +66,7 @@ ScriptingEnvironment::ScriptingEnvironment(const char * fileName) {
luabind::module(myLuaState) [
luabind::class_<HashTable<std::string, std::string> >("keyVals")
.def("Add", &HashTable<std::string, std::string>::Add)
.def("Find", &HashTable<std::string, std::string>::Find)
.def("Get", &HashTable<std::string, std::string>::Get)
.def("Holds", &HashTable<std::string, std::string>::Holds)
];