From: Guenter Knauf <fuankg@apache.org>
Date: Wed, 22 May 2013 17:19:47 +0000 (+0000)
Subject: Removed obsolete define (already exists in mod_lua.h).
X-Git-Tag: 2.5.0-alpha~5422
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e71d636f792112d4f5f8a261b1c0816f4d711b83;p=apache

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 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;