httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r728540 - in /httpd/httpd/trunk/modules/lua: lua_request.c mod_lua.h
Date Sun, 21 Dec 2008 22:40:43 GMT
Author: pquerna
Date: Sun Dec 21 14:40:43 2008
New Revision: 728540

URL: http://svn.apache.org/viewvc?rev=728540&view=rev
Log:
Rename rstack_dump to apl_rstack_dump.

Modified:
    httpd/httpd/trunk/modules/lua/lua_request.c
    httpd/httpd/trunk/modules/lua/mod_lua.h

Modified: httpd/httpd/trunk/modules/lua/lua_request.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/lua_request.c?rev=728540&r1=728539&r2=728540&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/lua_request.c (original)
+++ httpd/httpd/trunk/modules/lua/lua_request.c Sun Dec 21 14:40:43 2008
@@ -22,7 +22,7 @@
 typedef char *(*req_field_string_f) (request_rec * r);
 typedef int (*req_field_int_f) (request_rec * r);
 
-void rstack_dump(lua_State *L, request_rec *r, const char *msg)
+void apl_rstack_dump(lua_State *L, request_rec *r, const char *msg)
 {
     ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r, "Lua Stack Dump: [%s]", msg);
 
@@ -427,9 +427,9 @@
     /* request_rec* r = lua_touserdata(L, lua_upvalueindex(1)); */
     /* const char* key = luaL_checkstring(L, -2); */
     request_rec *r = apl_check_request_rec(L, 1);
-    rstack_dump(L, r, "req_newindex");
+    apl_rstack_dump(L, r, "req_newindex");
     const char *key = luaL_checkstring(L, 2);
-    rstack_dump(L, r, "req_newindex");
+    apl_rstack_dump(L, r, "req_newindex");
     if (0 == apr_strnatcmp("status", key)) {
         int code = luaL_checkinteger(L, 3);
         r->status = code;

Modified: httpd/httpd/trunk/modules/lua/mod_lua.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/mod_lua.h?rev=728540&r1=728539&r2=728540&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/mod_lua.h (original)
+++ httpd/httpd/trunk/modules/lua/mod_lua.h Sun Dec 21 14:40:43 2008
@@ -57,7 +57,7 @@
 #define lua_unboxpointer(L,i)	(*(void **)(lua_touserdata(L, i)))
 #endif
 
-void rstack_dump(lua_State *L, request_rec *r, const char *msg);
+void apl_rstack_dump(lua_State *L, request_rec *r, const char *msg);
 
 typedef struct
 {



Mime
View raw message