cocos2d-x  3.1rc0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
tolua_fix.h File Reference
#include "tolua++.h"

Macros

#define TOLUA_REFID_PTR_MAPPING   "toluafix_refid_ptr_mapping"
#define TOLUA_REFID_TYPE_MAPPING   "toluafix_refid_type_mapping"
#define TOLUA_REFID_FUNCTION_MAPPING   "toluafix_refid_function_mapping"

Functions

TOLUA_API void  (lua_State *L)
TOLUA_API int  (lua_State *L, int uid, int *p_refid, void *ptr, const char *type)
TOLUA_API int  (lua_State *L, int refid)
TOLUA_API int  (lua_State *L, int lo, int def)
TOLUA_API void  (lua_State *L, int refid)
TOLUA_API void  (lua_State *L, int refid)
TOLUA_API int  (lua_State *L, int lo, const char *type, int def, tolua_Error *err)
TOLUA_API int  (lua_State *L, int lo, int def)
TOLUA_API int  (lua_State *L, int lo, const char *type, int def, tolua_Error *err)
TOLUA_API void  (lua_State *L, const char *label)

Macro Definition Documentation

#define
TOLUA_REFID_FUNCTION_MAPPING   "toluafix_refid_function_mapping"
#define TOLUA_REFID_PTR_MAPPING   "toluafix_refid_ptr_mapping"
#define TOLUA_REFID_TYPE_MAPPING   "toluafix_refid_type_mapping"

Function Documentation

TOLUA_API void toluafix_open ( lua_State *  L)
TOLUA_API int
toluafix_pushusertype_ccobject
( lua_State *  L,
int  uid,
int *  p_refid,
void *  ptr,
const char *  type 
)
TOLUA_API int
toluafix_remove_ccobject_by_refid
( lua_State *  L,
int  refid 
)
TOLUA_API int toluafix_ref_function ( lua_State *  L,
int  lo,
int  def 
)
TOLUA_API void
toluafix_get_function_by_refid
( lua_State *  L,
int  refid 
)
TOLUA_API void
toluafix_remove_function_by_refid
( lua_State *  L,
int  refid 
)
TOLUA_API int toluafix_isfunction ( lua_State *  L,
int  lo,
const char *  type,
int  def,
tolua_Error *  err 
)
TOLUA_API int toluafix_totable ( lua_State *  L,
int  lo,
int  def 
)
TOLUA_API int toluafix_istable ( lua_State *  L,
int  lo,
const char *  type,
int  def,
tolua_Error *  err 
)
TOLUA_API void toluafix_stack_dump ( lua_State *  L,
const char *  label 
)