From: Aurelien DARRAGON Date: Thu, 4 May 2023 12:01:17 +0000 (+0200) Subject: MINOR: hlua: declare hlua_yieldk() function X-Git-Tag: v2.8-dev10~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc4ec0d653f03c8bfcb34795b4f952df39489f68;p=thirdparty%2Fhaproxy.git MINOR: hlua: declare hlua_yieldk() function Declaring hlua_yieldk() function to make it usable from hlua_fcn.c. --- diff --git a/include/haproxy/hlua.h b/include/haproxy/hlua.h index 2031e5d21a..9c9c57a324 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 */