diff options
author | chai <chaifix@163.com> | 2021-10-26 11:27:58 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-26 11:27:58 +0800 |
commit | 32345800737b668011a87328cd3dcce59ec2934c (patch) | |
tree | e1bbd47ae775f1268447f1c1011ab10492ee9197 /Runtime/Lua/LuaBind | |
parent | ef7aedf5f272c52247d8ee9522d7b2896d21af63 (diff) |
*misc
Diffstat (limited to 'Runtime/Lua/LuaBind')
-rw-r--r-- | Runtime/Lua/LuaBind/LuaBindUtility.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Runtime/Lua/LuaBind/LuaBindUtility.h b/Runtime/Lua/LuaBind/LuaBindUtility.h index 7e6eb77..9cc4802 100644 --- a/Runtime/Lua/LuaBind/LuaBindUtility.h +++ b/Runtime/Lua/LuaBind/LuaBindUtility.h @@ -26,8 +26,8 @@ #define LUA_BIND_IMPL_METHOD(type, f) int type::f(lua_State* L) // 由应用程序实现的两个接口。上下文里有一个state。 -#define LUA_BIND_REGISTRY(type) void type::RegisterClass(::State& state) -#define LUA_BIND_POSTPROCESS(type) void type::RegisterPostprocess(::State& state) +#define LUA_BIND_REGISTRY(type) void type::RegisterClass(LuaBind::State& state) +#define LUA_BIND_POSTPROCESS(type) void type::RegisterPostprocess(LuaBind::State& state) // 用来注册的宏。之前这里忘了用可变宏,导致没有luaclastable ref没有注册对。 #define LUA_BIND_REGISTER_CLASS(state, param) state.RegisterNativeClass<param>() |