You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by br...@apache.org on 2009/06/15 05:10:04 UTC
svn commit: r784643 - /httpd/httpd/trunk/modules/lua/lua_apr.c
Author: brianm
Date: Mon Jun 15 03:10:03 2009
New Revision: 784643
URL: http://svn.apache.org/viewvc?rev=784643&view=rev
Log:
change use of luaL_openlib to luaL_register via path from Arfrever Frehtes Taifersar Arahesis
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=784643&r1=784642&r2=784643&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/lua_apr.c (original)
+++ httpd/httpd/trunk/modules/lua/lua_apr.c Mon Jun 15 03:10:03 2009
@@ -75,7 +75,7 @@
AP_LUA_DECLARE(int) ap_lua_init(lua_State *L, apr_pool_t *p)
{
luaL_newmetatable(L, "Apr.Table");
- luaL_openlib(L, "apr_table", lua_table_methods, 0);
+ luaL_register(L, "apr_table", lua_table_methods, 0);
lua_pushstring(L, "__index");
lua_pushstring(L, "get");
lua_gettable(L, 2);