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

class CMLua
{
private:
	lua_State *L;

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

public:
	CMLua();
	~CMLua();

	static luaL_Reg coreFunctions[10];

	void Load(const char *name);
};

#endif //_LUA_CORE_H_