背景和头像缺失

This commit is contained in:
2026-03-01 13:51:43 +08:00
parent eaaf7f8c9b
commit 7d2f6399af
5947 changed files with 1441367 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
#ifndef __LUA_OBJC_BRIDGE_H_
#define __LUA_OBJC_BRIDGE_H_
#include "CCLuaBridge.h"
/**
* @addtogroup lua
* @{
*/
NS_CC_BEGIN
/**
* Build a bridge between ObjectC and Lua script.
* This mechanism make Lua and ObjectC call each other easily.
*/
class LuaObjcBridge : public LuaBridge
{
public:
/**
* Bind callObjcStaticMethod of LuaObjcBridge to Lua.
* In current mechanism,we could call LuaObjcBridge.callStaticMethod(className, methodName, args) in Lua directly.
* Meanwhile the callObjcStaticMethod of LuaObjcBridge binding function is wrapped in the luaoc.lua
*
* @param L the current lua_State
* @js NA
* @lua NA
*/
static void luaopen_luaoc(lua_State *L);
protected:
static int callObjcStaticMethod(lua_State *L);
static void pushValue(lua_State *L, void *val);
};
NS_CC_END
// end group
/// @}
#endif // __LUA_OBJC_BRIDGE_H_