mirror of
https://github.com/apache/httpd.git
synced 2025-08-05 16:55:50 +03:00
Switch from lua_objlen() to Lua 5.2 preferred
lua_rawlen(). Define lua_rawlen() in terms of lua_objlen() when building against older Lua. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612552 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -52,6 +52,8 @@
|
||||
/* Load mode for lua_load() */
|
||||
#define lua_load(a,b,c,d) lua_load(a,b,c,d,NULL)
|
||||
#define lua_resume(a,b) lua_resume(a, NULL, b)
|
||||
#else
|
||||
#define lua_rawlen(L,i) lua_objlen(L, (i))
|
||||
#endif
|
||||
|
||||
/* Create a set of AP_LUA_DECLARE(type), AP_LUA_DECLARE_NONSTD(type) and
|
||||
|
Reference in New Issue
Block a user