cocos2d-x 3.0
- 首页 - 相关页面 - 模块 - 命名空间 - - 文件 -
类 - 图1 类 - 图2)
- 文件列表 - 文件成员

全部)) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义)))

| 宏定义

CCLuaJavaBridge.h 文件参考

#include

#include

#include

#include "cocos2d.h"

#include "lua.h"

##
class LuaJavaBridge
## 宏定义
#define LUAJ_ERR_OK 0
#define LUAJ_ERR_TYPE_NOT_SUPPORT (-1)
#define LUAJ_ERR_INVALID_SIGNATURES (-2)
#define LUAJ_ERR_METHOD_NOT_FOUND (-3)
#define LUAJ_ERR_EXCEPTION_OCCURRED (-4)
#define LUAJ_ERR_VM_THREAD_DETACHED (-5)
#define LUAJ_ERR_VM_FAILURE (-6)
#define LUAJ_REGISTRY_FUNCTION "luaj_function_id"
#define LUAJ_REGISTRY_RETAIN "luaj_function_id_retain"

宏定义说明

#define LUAJ_ERR_EXCEPTION_OCCURRED (-4)

#define LUAJ_ERR_INVALID_SIGNATURES (-2)

#define LUAJ_ERR_METHOD_NOT_FOUND (-3)

#define LUAJ_ERR_OK 0

#define LUAJ_ERR_TYPE_NOT_SUPPORT (-1)

#define LUAJ_ERR_VM_FAILURE (-6)

#define LUAJ_ERR_VM_THREAD_DETACHED (-5)

#define LUAJ_REGISTRY_FUNCTION "luaj_function_id"

#define LUAJ_REGISTRY_RETAIN "luaj_function_id_retain"