最终效果:包装函数由模板生成,不需要generator
tolua_function(tolua_S, “create”, QUICKBIND_CLASSFUNC(&HelloScene::create));
tolua_function(tolua_S, “getCamera”, QUICKBIND_FUNC(&HelloScene::getCamera));
QuickBindings.h.zip (2.1 KB)
最终效果:包装函数由模板生成,不需要generator
tolua_function(tolua_S, “create”, QUICKBIND_CLASSFUNC(&HelloScene::create));
tolua_function(tolua_S, “getCamera”, QUICKBIND_FUNC(&HelloScene::getCamera));
QuickBindings.h.zip (2.1 KB)