2016-01-21 03:28:58 -05:00
|
|
|
#ifndef _PROTO_HLUA_FCN_H
|
|
|
|
|
#define _PROTO_HLUA_FCN_H
|
|
|
|
|
|
2016-11-24 14:37:38 -05:00
|
|
|
int hlua_checkboolean(lua_State *L, int index);
|
|
|
|
|
|
2016-02-22 13:52:08 -05: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 03:55:30 -05:00
|
|
|
void *hlua_checkudata(lua_State *L, int ud, int class_ref);
|
2016-02-19 12:34:46 -05:00
|
|
|
int hlua_register_metatable(struct lua_State *L, char *name);
|
2016-02-19 14:53:30 -05:00
|
|
|
int hlua_fcn_post_init(lua_State *L);
|
2016-01-21 03:28:58 -05:00
|
|
|
int hlua_fcn_reg_core_fcn(lua_State *L);
|
2016-02-22 13:52:08 -05:00
|
|
|
int hlua_dump_object(lua_State *L);
|
2016-01-21 03:28:58 -05:00
|
|
|
|
|
|
|
|
#endif /* _PROTO_HLUA_FCN_H */
|