]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: hlua: declare hlua_yieldk() function
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 4 May 2023 12:01:17 +0000 (14:01 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 May 2023 14:28:32 +0000 (16:28 +0200)
Declaring hlua_yieldk() function to make it usable from hlua_fcn.c.

include/haproxy/hlua.h

index 2031e5d21a8e8868bcdc373356f3d875cb8334ac..9c9c57a324097348328ca357dd7a997418e30898 100644 (file)
@@ -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 */