49#if LUA_VERSION_NUM > 501
51#define lua_load(a,b,c,d) lua_load(a,b,c,d,NULL)
53#if LUA_VERSION_NUM > 503
54#define lua_resume(a,b,c) lua_resume(a, NULL, b, c)
58#define lua_resume(a,b,c) (*(c) = 1, lua_resume(a, NULL, b))
61#define luaL_setfuncs_compat(a,b) luaL_setfuncs(a,b,0)
63#define lua_rawlen(L,i) lua_objlen(L, (i))
64#define luaL_setfuncs_compat(a,b) luaL_register(a,NULL,b)
65#define lua_resume(a,b,c) (*(c) = 1, lua_resume(a, b))
67#if LUA_VERSION_NUM > 502
68#define lua_dump(a,b,c) lua_dump(a,b,c,0)
75#define AP_LUA_DECLARE(type) type
76#define AP_LUA_DECLARE_NONSTD(type) type
77#define AP_LUA_DECLARE_DATA
78#elif defined(AP_LUA_DECLARE_STATIC)
79#define AP_LUA_DECLARE(type) type __stdcall
80#define AP_LUA_DECLARE_NONSTD(type) type
81#define AP_LUA_DECLARE_DATA
82#elif defined(AP_LUA_DECLARE_EXPORT)
83#define AP_LUA_DECLARE(type) __declspec(dllexport) type __stdcall
84#define AP_LUA_DECLARE_NONSTD(type) __declspec(dllexport) type
85#define AP_LUA_DECLARE_DATA __declspec(dllexport)
87#define AP_LUA_DECLARE(type) __declspec(dllimport) type __stdcall
88#define AP_LUA_DECLARE_NONSTD(type) __declspec(dllimport) type
89#define AP_LUA_DECLARE_DATA __declspec(dllimport)
107#ifndef lua_boxpointer
108#define lua_boxpointer(L,u) (*(void **)(lua_newuserdata(L, sizeof(void *))) = (u))
109#define lua_unboxpointer(L,i) (*(void **)(lua_touserdata(L, i)))
174extern module AP_MODULE_DECLARE_DATA lua_module;
Symbol export macros and hook functions.
APR-UTIL Buckets/Bucket Brigades.
APR-UTIL Resource List Routines.
APR Reader/Writer Lock Routines.
#define APR_DECLARE_EXTERNAL_HOOK(ns, link, ret, name, args)
apr_vformatter_buff_t * c
const char * ap_lua_ssl_val(apr_pool_t *p, server_rec *s, conn_rec *c, request_rec *r, const char *var)
int ap_lua_ssl_is_https(conn_rec *c)
void ap_lua_rstack_dump(lua_State *L, request_rec *r, const char *msg)
@ AP_LUA_INHERIT_PARENT_LAST
@ AP_LUA_INHERIT_PARENT_FIRST
apr_array_header_t * package_paths
apr_array_header_t * package_cpaths
apr_array_header_t * mapped_handlers
apr_array_header_t * mapped_filters
apr_hash_t * request_scoped_vms
mapped_request_details * mapped_request_details
Structure to store things which are per connection.
const char * function_name
A structure that represents the current request.
A structure to store information for each virtual server.