2016-01-21 08:28:58 +00:00
|
|
|
#ifndef _PROTO_HLUA_FCN_H
|
|
|
|
#define _PROTO_HLUA_FCN_H
|
|
|
|
|
2016-11-24 19:37:38 +00:00
|
|
|
int hlua_checkboolean(lua_State *L, int index);
|
|
|
|
|
2016-02-22 18:52:08 +00:00
|
|
|
void hlua_class_const_int(lua_State *L, const char *name, int value);
|
|
|
|
void hlua_class_const_str(lua_State *L, const char *name, const char *value);
|
|
|
|
void hlua_class_function(lua_State *L, const char *name, int (*function)(lua_State *L));
|
2016-01-27 08:55:30 +00:00
|
|
|
void *hlua_checkudata(lua_State *L, int ud, int class_ref);
|
2016-02-19 17:34:46 +00:00
|
|
|
int hlua_register_metatable(struct lua_State *L, char *name);
|
2016-02-19 19:53:30 +00:00
|
|
|
int hlua_fcn_post_init(lua_State *L);
|
2016-01-21 08:28:58 +00:00
|
|
|
int hlua_fcn_reg_core_fcn(lua_State *L);
|
2016-02-22 18:52:08 +00:00
|
|
|
int hlua_dump_object(lua_State *L);
|
2016-01-21 08:28:58 +00:00
|
|
|
|
|
|
|
#endif /* _PROTO_HLUA_FCN_H */
|