]> granicus.if.org Git - apache/commitdiff
luaL_reg was already deprecated in Lua 5.1.4.
authorRainer Jung <rjung@apache.org>
Wed, 1 Feb 2012 09:50:14 +0000 (09:50 +0000)
committerRainer Jung <rjung@apache.org>
Wed, 1 Feb 2012 09:50:14 +0000 (09:50 +0000)
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..

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1239029 13f79535-47bb-0310-9956-ffa450edef68

modules/lua/lua_apr.c

index ad396e66f5de554964e9d92e2321cfce0cc3198c..c93ea9b1e1f9bbed215c74d55794cfc4d8bde5b6 100644 (file)
@@ -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}