]> granicus.if.org Git - apache/commitdiff
Removed obsolete define (already exists in mod_lua.h).
authorGuenter Knauf <fuankg@apache.org>
Wed, 22 May 2013 17:19:47 +0000 (17:19 +0000)
committerGuenter Knauf <fuankg@apache.org>
Wed, 22 May 2013 17:19:47 +0000 (17:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1485292 13f79535-47bb-0310-9956-ffa450edef68

modules/lua/lua_apr.c

index c0af7c91ad7435dd3b8f996f205d17a65d88ce0a..59a91e550ff5a54a012a461817bc4b6cc5503012 100644 (file)
 #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;