关于引擎已注册的LUA类差错。
本帖属于http://www.cocoachina.com/CocoaChina会员发表,转帖请写明来源和帖子地址
是这样的, Lua在调用引擎函数时
if (!tolua_isusertype(tolua_S,1,“ccs.SceneReader”,0,&tolua_err)) goto tolua_lerror;
这个地方出错了, 错误码是1, 请问有tolua_Error错误表吗?
…给我个错误ID完全没用啊,,,具体是什么错?
struct tolua_Error
{
int index;
int array;
const char* type;
};