blob: 9c5d9081b7871ca1d73a9d4771e4e8385a01f4fb [file] [log] [blame]
Thierry Fournierfb0b5462016-01-21 09:28:58 +01001#ifndef _PROTO_HLUA_FCN_H
2#define _PROTO_HLUA_FCN_H
3
Thierry Fournierddd89882016-02-22 19:52:08 +01004void hlua_class_const_int(lua_State *L, const char *name, int value);
5void hlua_class_const_str(lua_State *L, const char *name, const char *value);
6void hlua_class_function(lua_State *L, const char *name, int (*function)(lua_State *L));
Thierry Fournier9e7e3ea2016-01-27 09:55:30 +01007void *hlua_checkudata(lua_State *L, int ud, int class_ref);
Thierry Fournier45e78d72016-02-19 18:34:46 +01008int hlua_register_metatable(struct lua_State *L, char *name);
Thierry Fournierfb0b5462016-01-21 09:28:58 +01009int hlua_fcn_reg_core_fcn(lua_State *L);
Thierry Fournierddd89882016-02-22 19:52:08 +010010int hlua_dump_object(lua_State *L);
Thierry Fournierfb0b5462016-01-21 09:28:58 +010011
12#endif /* _PROTO_HLUA_FCN_H */