1 #ifndef _PROTO_HLUA_FCN_H 2 #define _PROTO_HLUA_FCN_H 3 4 int hlua_checkboolean(lua_State *L, int index); 5 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)); 9 void *hlua_checkudata(lua_State *L, int ud, int class_ref); 10 int hlua_register_metatable(struct lua_State *L, char *name); 11 int hlua_fcn_post_init(lua_State *L); 12 int hlua_fcn_reg_core_fcn(lua_State *L); 13 int hlua_dump_object(lua_State *L); 14 15 #endif /* _PROTO_HLUA_FCN_H */ 16