Mercurial > mm7
diff LuaVM.h @ 2052:71a814f4482a
Moved implementation to cpp
author | Nomad |
---|---|
date | Fri, 29 Nov 2013 12:20:07 +0200 |
parents | |
children | 62a27b2cfcc2 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LuaVM.h Fri Nov 29 12:20:07 2013 +0200 @@ -0,0 +1,14 @@ +#pragma once + +class LuaVM +{ + public: + void Initialize(); + bool DoFile(const char *filename); + + protected: + struct lua_State *L; + + const char *GetScriptFileLocation(const char *script_name); +}; +extern LuaVM *lua; \ No newline at end of file