blob: e4ce5f0912c0be6181e214f2960ec6a3bb6b13a6 [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 Fournier3d4a6752016-02-19 20:53:30 +01009int hlua_fcn_post_init(lua_State *L);
Thierry Fournierfb0b5462016-01-21 09:28:58 +010010int hlua_fcn_reg_core_fcn(lua_State *L);
Thierry Fournierddd89882016-02-22 19:52:08 +010011int hlua_dump_object(lua_State *L);
Thierry Fournierfb0b5462016-01-21 09:28:58 +010012
13#endif /* _PROTO_HLUA_FCN_H */