MINOR: hlua: declare hlua_{ref,pushref,unref} functions

Declaring hlua_{ref,pushref,unref} functions to make them usable from
hlua_fcn.c to simplify reference handling.
This commit is contained in:
Aurelien DARRAGON 2023-05-03 17:43:02 +02:00 committed by Christopher Faulet
parent 7963fb5669
commit 34c86760fa

View File

@ -56,6 +56,9 @@ void hlua_applet_http_fct(struct appctx *ctx);
int hlua_event_sub(lua_State *L, event_hdl_sub_list *sub_list);
struct task *hlua_process_task(struct task *task, void *context, unsigned int state);
const char *hlua_show_current_location(const char *pfx);
int hlua_ref(lua_State *L);
void hlua_pushref(lua_State *L, int ref);
void hlua_unref(lua_State *L, int ref);
#else /* USE_LUA */