diff options
author | chai <chaifix@163.com> | 2018-11-13 08:27:26 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-11-13 08:27:26 +0800 |
commit | 75792c15480d3d99b2ba7e79e143e4b569b22611 (patch) | |
tree | 61e3abc45326c67d348e08400da11f60dff18fa3 /src/lua/luax.h | |
parent | c7e59fb376453e5abad8c862b52eb0f4c7ba829b (diff) |
*修改lua ref
Diffstat (limited to 'src/lua/luax.h')
-rw-r--r-- | src/lua/luax.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lua/luax.h b/src/lua/luax.h index 89e456e..1c2081c 100644 --- a/src/lua/luax.h +++ b/src/lua/luax.h @@ -4,4 +4,8 @@ #include "LuaJIT/lua.hpp" #include "lua/libraries/luax/luax.h" +#define luax_newclass(l, f) \ +extern int f(lua_State*);\ +f(l) + #endif
\ No newline at end of file |