Mercurial > mm7
view Engine/LuaVM.h @ 2515:b96f6cb1855d
LPWSTR wStr = new WCHAR[255]
author | Ritor1 |
---|---|
date | Thu, 02 Oct 2014 21:16:27 +0600 |
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;