comparison Engine/LuaVM.h @ 2499:68cdef6879a0

engine folder
author Ritor1
date Fri, 19 Sep 2014 02:57:42 +0600
parents
children
comparison
equal deleted inserted replaced
2498:92eeeb5200f2 2499:68cdef6879a0
1 #pragma once
2
3 class LuaVM
4 {
5 public:
6 inline LuaVM(): L(nullptr) {}
7
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;