summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua.h
blob: 8abc839bd06d9fd3eecc7e10d9abf6037a68f326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _LUA_CORE_H_
#define _LUA_CORE_H_

class CMLua
{
private:
	lua_State *L;
	static luaL_Reg coreLib[12];

	void Preload(const char *name, lua_CFunction func);

public:
	CMLua();
	~CMLua();

	void AddPath(const char *path);

	void Load(const char *name);
};

#endif //_LUA_CORE_H_