httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1239029 - /httpd/httpd/trunk/modules/lua/lua_apr.c
Date Wed, 01 Feb 2012 09:50:15 GMT
Author: rjung
Date: Wed Feb  1 09:50:14 2012
New Revision: 1239029

URL: http://svn.apache.org/viewvc?rev=1239029&view=rev
Log:
luaL_reg was already deprecated in Lua 5.1.4.
It is gone in Lua 5.2.0 and was replaced by luaL_Reg
which already existed in 5.1.4. So use that one..

Modified:
    httpd/httpd/trunk/modules/lua/lua_apr.c

Modified: httpd/httpd/trunk/modules/lua/lua_apr.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/lua_apr.c?rev=1239029&r1=1239028&r2=1239029&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/lua_apr.c (original)
+++ httpd/httpd/trunk/modules/lua/lua_apr.c Wed Feb  1 09:50:14 2012
@@ -65,7 +65,7 @@ static int lua_table_get(lua_State *L)
     return 1;
 }
 
-static const luaL_reg lua_table_methods[] = {
+static const luaL_Reg lua_table_methods[] = {
     {"set", lua_table_set},
     {"get", lua_table_get},
     {0, 0}



Mime
View raw message