blob: 9afece2d974b4901e7c838f8a9ad1381d36b25d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#ifndef __LUAX_ENUM_H__
#define __LUAX_ENUM_H__
#include "luax_config.h"
namespace Luax
{
///
/// ö٣öһͼϣöٵֵ
///
struct LuaxEnum
{
cc8* name;
int value;
};
extern int _rmt__index(lua_State* L);
extern int _rmt__newindex(lua_State* L);
//--------------------------------------------------------------------------------//
#if LUAX_ENABLE_PLAIN_ENUM
///
/// luaö٣ĵtable
///
class LuaxPlainEnum
{
public:
static int registry(lua_State* L);
};
#endif
}
#endif
|