From e71d636f792112d4f5f8a261b1c0816f4d711b83 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Wed, 22 May 2013 17:19:47 +0000 Subject: [PATCH] Removed obsolete define (already exists in mod_lua.h). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1485292 13f79535-47bb-0310-9956-ffa450edef68 --- modules/lua/lua_apr.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/modules/lua/lua_apr.c b/modules/lua/lua_apr.c index c0af7c91ad..59a91e550f 100644 --- a/modules/lua/lua_apr.c +++ b/modules/lua/lua_apr.c @@ -18,16 +18,6 @@ #include "mod_lua.h" #include "lua_apr.h" -/** - * make a userdata out of a C pointer, and vice versa - * instead of using lightuserdata - */ -#ifndef lua_boxpointer -#define lua_boxpointer(L,u) (*(void **)(lua_newuserdata(L, sizeof(void *))) = (u)) -#define lua_unboxpointer(L,i) (*(void **)(lua_touserdata(L, i))) -#endif - - AP_LUA_DECLARE(apr_table_t *) ap_lua_check_apr_table(lua_State *L, int index) { apr_table_t *t;