Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: CVS

svn commit: r784643 - /httpd/httpd/trunk/modules/lua/lua_apr.c

 

 

Apache cvs RSS feed   Index | Next | Previous | View Threaded


brianm at apache

Jun 14, 2009, 8:10 PM

Post #1 of 1 (214 views)
Permalink
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);

Apache cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.