Mercurial > mm7
annotate LuaVM.h @ 2439:daf7807d0a86
Merge
author | a.parshin |
---|---|
date | Thu, 24 Jul 2014 00:32:18 +0300 |
parents | 62a27b2cfcc2 |
children |
rev | line source |
---|---|
2052 | 1 #pragma once |
2 | |
3 class LuaVM | |
4 { | |
5 public: | |
2054 | 6 inline LuaVM(): L(nullptr) {} |
7 | |
2052 | 8 void Initialize(); |
9 bool DoFile(const char *filename); | |
10 | |
11 protected: | |
12 struct lua_State *L; | |
13 | |
14 const char *GetScriptFileLocation(const char *script_name); | |
15 }; | |
16 extern LuaVM *lua; |