diff options
| author | Arno Töll <arno@debian.org> | 2012-10-20 02:58:14 +0200 |
|---|---|---|
| committer | Arno Töll <arno@debian.org> | 2012-10-20 02:58:14 +0200 |
| commit | 5c4fba3ffbe778bdffe10a93d04821579601a020 (patch) | |
| tree | 91be9a7f99d3988ba48b0a619479aa46a3234191 /modules/lua/mod_lua.h | |
| parent | 8f9c15530d0bc387af114619b3ff3f930eb23d3c (diff) | |
| download | apache2-upstream/2.4.3.tar.gz | |
Imported Upstream version 2.4.3upstream/2.4.3
Diffstat (limited to 'modules/lua/mod_lua.h')
| -rw-r--r-- | modules/lua/mod_lua.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/lua/mod_lua.h b/modules/lua/mod_lua.h index 5394f7a4..52ff96ad 100644 --- a/modules/lua/mod_lua.h +++ b/modules/lua/mod_lua.h @@ -40,6 +40,9 @@ #include "apr_time.h" #include "apr_hooks.h" +/* Allow for Lua 5.2 backwards compatibility */ +#define LUA_COMPAT_ALL + #include "lua.h" #include "lauxlib.h" #include "lualib.h" @@ -113,7 +116,7 @@ typedef struct apr_hash_t *hooks; /* <wombat_hook_info> */ /* the actual directory being configured */ - char *dir; + const char *dir; /* Whether Lua scripts in a sub-dir are run before parents */ ap_lua_inherit_t inherit; @@ -131,7 +134,7 @@ typedef struct typedef struct { - char *function_name; + const char *function_name; ap_lua_vm_spec *spec; } mapped_request_details; @@ -144,7 +147,7 @@ typedef struct typedef struct { lua_State *L; - char *function; + const char *function; } ap_lua_filter_ctx; extern module AP_MODULE_DECLARE_DATA lua_module; |
