Thierry Fournier | fb0b546 | 2016-01-21 09:28:58 +0100 | [diff] [blame] | 1 | #ifndef _PROTO_HLUA_FCN_H |
| 2 | #define _PROTO_HLUA_FCN_H |
| 3 | |
Thierry FOURNIER / OZON.IO | 7f3aa8b | 2016-11-24 20:37:38 +0100 | [diff] [blame] | 4 | int hlua_checkboolean(lua_State *L, int index); |
| 5 | |
Thierry Fournier | ddd8988 | 2016-02-22 19:52:08 +0100 | [diff] [blame] | 6 | void hlua_class_const_int(lua_State *L, const char *name, int value); |
| 7 | void hlua_class_const_str(lua_State *L, const char *name, const char *value); |
| 8 | void hlua_class_function(lua_State *L, const char *name, int (*function)(lua_State *L)); |
Thierry Fournier | 9e7e3ea | 2016-01-27 09:55:30 +0100 | [diff] [blame] | 9 | void *hlua_checkudata(lua_State *L, int ud, int class_ref); |
Thierry Fournier | 45e78d7 | 2016-02-19 18:34:46 +0100 | [diff] [blame] | 10 | int hlua_register_metatable(struct lua_State *L, char *name); |
Thierry Fournier | 3d4a675 | 2016-02-19 20:53:30 +0100 | [diff] [blame] | 11 | int hlua_fcn_post_init(lua_State *L); |
Thierry Fournier | fb0b546 | 2016-01-21 09:28:58 +0100 | [diff] [blame] | 12 | int hlua_fcn_reg_core_fcn(lua_State *L); |
Thierry Fournier | ddd8988 | 2016-02-22 19:52:08 +0100 | [diff] [blame] | 13 | int hlua_dump_object(lua_State *L); |
Thierry Fournier | fb0b546 | 2016-01-21 09:28:58 +0100 | [diff] [blame] | 14 | |
| 15 | #endif /* _PROTO_HLUA_FCN_H */ |