blob: 291bd428c23c6bea3445f7c7b536c6579641bb35 [file] [log] [blame]
Thierry Fournierfb0b5462016-01-21 09:28:58 +01001#ifndef _PROTO_HLUA_FCN_H
2#define _PROTO_HLUA_FCN_H
3
Thierry FOURNIER / OZON.IO7f3aa8b2016-11-24 20:37:38 +01004int hlua_checkboolean(lua_State *L, int index);
5
Thierry Fournierddd89882016-02-22 19:52:08 +01006void hlua_class_const_int(lua_State *L, const char *name, int value);
7void hlua_class_const_str(lua_State *L, const char *name, const char *value);
8void hlua_class_function(lua_State *L, const char *name, int (*function)(lua_State *L));
Thierry Fournier9e7e3ea2016-01-27 09:55:30 +01009void *hlua_checkudata(lua_State *L, int ud, int class_ref);
Thierry Fournier45e78d72016-02-19 18:34:46 +010010int hlua_register_metatable(struct lua_State *L, char *name);
Thierry Fournier3d4a6752016-02-19 20:53:30 +010011int hlua_fcn_post_init(lua_State *L);
Thierry Fournierfb0b5462016-01-21 09:28:58 +010012int hlua_fcn_reg_core_fcn(lua_State *L);
Thierry Fournierddd89882016-02-22 19:52:08 +010013int hlua_dump_object(lua_State *L);
Thierry Fournierfb0b5462016-01-21 09:28:58 +010014
15#endif /* _PROTO_HLUA_FCN_H */