]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Not static; trusting this targetted for export?
authorWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 28 Aug 2009 01:39:50 +0000 (01:39 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 28 Aug 2009 01:39:50 +0000 (01:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@808726 13f79535-47bb-0310-9956-ffa450edef68

modules/lua/lua_apr.c

index 5078be129f9cec09da46ad5fc7c2f5eb3902d2bd..26e91f100eb89b7a7a0b46ef5359cd648befbd88 100644 (file)
@@ -30,7 +30,7 @@
 #endif
 
 
-apr_table_t *check_apr_table(lua_State *L, int index)
+AP_LUA_DECLARE(apr_table_t*) ap_lua_check_apr_table(lua_State *L, int index)
 {
     apr_table_t *t;
     luaL_checkudata(L, index, "Apr.Table");
@@ -48,7 +48,7 @@ AP_LUA_DECLARE(void) ap_lua_push_apr_table(lua_State *L, apr_table_t *t)
 
 static int lua_table_set(lua_State *L)
 {
-    apr_table_t *t = check_apr_table(L, 1);
+    apr_table_t *t = ap_lua_check_apr_table(L, 1);
     const char *key = luaL_checkstring(L, 2);
     const char *val = luaL_checkstring(L, 3);
 
@@ -58,7 +58,7 @@ static int lua_table_set(lua_State *L)
 
 static int lua_table_get(lua_State *L)
 {
-    apr_table_t *t = check_apr_table(L, 1);
+    apr_table_t *t = ap_lua_check_apr_table(L, 1);
     const char *key = luaL_checkstring(L, 2);
     const char *val = apr_table_get(t, key);
     lua_pushstring(L, val);