From fc4ec0d653f03c8bfcb34795b4f952df39489f68 Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Thu, 4 May 2023 14:01:17 +0200 Subject: [PATCH] MINOR: hlua: declare hlua_yieldk() function Declaring hlua_yieldk() function to make it usable from hlua_fcn.c. --- include/haproxy/hlua.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/haproxy/hlua.h b/include/haproxy/hlua.h index 2031e5d..9c9c57a 100644 --- a/include/haproxy/hlua.h +++ b/include/haproxy/hlua.h @@ -60,6 +60,7 @@ int hlua_ref(lua_State *L); void hlua_pushref(lua_State *L, int ref); void hlua_unref(lua_State *L, int ref); struct hlua *hlua_gethlua(lua_State *L); +void hlua_yieldk(lua_State *L, int nresults, int ctx, lua_KFunction k, int timeout, unsigned int flags); #else /* USE_LUA */ -- 1.7.10.4