Mercurial > mm7
view Engine/LuaVM.h @ 2522:b71d0e7837ac
Слияние
author | a.parshin |
---|---|
date | Thu, 09 Oct 2014 19:31:55 +0300 |
parents | 68cdef6879a0 |
children |
line wrap: on
line source
#pragma once class LuaVM { public: inline LuaVM(): L(nullptr) {} void Initialize(); bool DoFile(const char *filename); protected: struct lua_State *L; const char *GetScriptFileLocation(const char *script_name); }; extern LuaVM *lua;