stack->PushNumber(int(rdPtr)); lua_pushcclosure(lua,LuaFunctionCallBridge,1); lua_setglobal(lua,name);