blob: 395eaf0b6d893a76c954bb79fe3b7f173c0e7d7b (
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 l_rmt__index(lua_State* L);
extern int l_rmt__newindex(lua_State* L);
//--------------------------------------------------------------------------------//
#if LUAX_ENABLE_PLAIN_ENUM
///
/// luaö٣ĵtable
///
class LuaxPlainEnum
{
public:
static int registry(lua_State* L);
};
#endif
}
#endif
|