moved script parsing for library/function names into a separate function

This commit is contained in:
Joakim Kilby
2015-06-26 10:42:35 +02:00
parent 2529d4c4d6
commit 42dbf6a6a1
2 changed files with 76 additions and 63 deletions

View File

@@ -100,6 +100,8 @@ private:
void addBaseLibrary();
void remapPrintFunction();
bool findLibraryAndFunction(std::string &library, std::string &function, const std::string &script);
lua_State* _state;
std::set<LuaLibrary> _registeredLibraries;