cocos2d-x  3.0rc1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCLuaJavaBridge.h File Reference
#include <jni.h>
#include <string>
#include <vector>
#include "cocos2d.h"
#include "lua.h"

Classes

class  LuaJavaBridge
 

Macros

#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"

Macro Definition Documentation

#define LUAJ_ERR_EXCEPTION_OCCURRED   (-4)
var LUAJ_ERR_EXCEPTION_OCCURRED   (-4)
local LUAJ_ERR_EXCEPTION_OCCURRED   (-4)
#define LUAJ_ERR_INVALID_SIGNATURES   (-2)
var LUAJ_ERR_INVALID_SIGNATURES   (-2)
local LUAJ_ERR_INVALID_SIGNATURES   (-2)
#define LUAJ_ERR_METHOD_NOT_FOUND   (-3)
var LUAJ_ERR_METHOD_NOT_FOUND   (-3)
local LUAJ_ERR_METHOD_NOT_FOUND   (-3)
#define LUAJ_ERR_OK   0
local LUAJ_ERR_OK   0
#define LUAJ_ERR_TYPE_NOT_SUPPORT   (-1)
var LUAJ_ERR_TYPE_NOT_SUPPORT   (-1)
local LUAJ_ERR_TYPE_NOT_SUPPORT   (-1)
#define LUAJ_ERR_VM_FAILURE   (-6)
var LUAJ_ERR_VM_FAILURE   (-6)
#define LUAJ_ERR_VM_THREAD_DETACHED   (-5)
var LUAJ_ERR_VM_THREAD_DETACHED   (-5)
local LUAJ_ERR_VM_THREAD_DETACHED   (-5)
#define LUAJ_REGISTRY_FUNCTION   "luaj_function_id"
var LUAJ_REGISTRY_FUNCTION   "luaj_function_id"
local LUAJ_REGISTRY_FUNCTION   "luaj_function_id"
#define LUAJ_REGISTRY_RETAIN   "luaj_function_id_retain"
var LUAJ_REGISTRY_RETAIN   "luaj_function_id_retain"
local LUAJ_REGISTRY_RETAIN   "luaj_function_id_retain"