You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2020/08/17 11:05:44 UTC

svn commit: r1880924 - /httpd/httpd/trunk/modules/lua/mod_lua.h

Author: rpluem
Date: Mon Aug 17 11:05:44 2020
New Revision: 1880924

URL: http://svn.apache.org/viewvc?rev=1880924&view=rev
Log:
* Correctly define lua_resume for Lua <= 5.1

Modified:
    httpd/httpd/trunk/modules/lua/mod_lua.h

Modified: httpd/httpd/trunk/modules/lua/mod_lua.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/mod_lua.h?rev=1880924&r1=1880923&r2=1880924&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/mod_lua.h (original)
+++ httpd/httpd/trunk/modules/lua/mod_lua.h Mon Aug 17 11:05:44 2020
@@ -61,6 +61,7 @@
 #else
 #define lua_rawlen(L,i)    lua_objlen(L, (i))
 #define luaL_setfuncs_compat(a,b) luaL_register(a,NULL,b)
+#define lua_resume(a,b,c)    (*(c) = 1, lua_resume(a, b))
 #endif
 #if LUA_VERSION_NUM > 502
 #define lua_dump(a,b,c) lua_dump(a,b,c,0)