From: Guenter Knauf Date: Wed, 22 May 2013 17:19:47 +0000 (+0000) Subject: Removed obsolete define (already exists in mod_lua.h). X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acfc427e1953706d4f19200906c8ba3459ff8baf;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/lua/lua_apr.c b/modules/lua/lua_apr.c index c0af7c91ad7..59a91e550ff 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;