blob: 104b89884532e2b1c14b3a373db281d7e4a1fe12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#define LUA_LIBRARY_EXPORT(x) EXTERN_C int __declspec(dllexport) luaopen_##x(lua_State* L)
#include <Windows.h>
#include <lua.hpp>
#include <m_system_cpp.h>
//#include "..\..\..\src\mlua_metatable.h"
#include <m_core.h>
#include <m_json.h>
struct MT
{
JSONNode *node;
bool bDelete;
};
extern const luaL_Reg jsonApi[];
#define MT_JSON "JSON_METATABLE"
|