阅读背景:

C ++ LuaBridge尝试索引userdata值(本地'self')

来源:互联网 

I've created a wrapper around LuaBridge in my framework, so that I can easily swap out LuaBridge for an alternative library. I have certain classes that get registered with LuaBridge as part of my framework initialization. I can then access or instantiate those classes easily in Lua. The problem comes when I want to call a custom method on a class/table, that has already been registered in the framework init, that I've defined in Lua.I've created a wrapper around LuaBridge in my f




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: