Mercurial > mm7
annotate LuaVM.h @ 2476:faf21e357a83
mistake in goto cleaning
author | zipi |
---|---|
date | Thu, 21 Aug 2014 21:26:47 +0100 |
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; |