File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,13 @@ typedef struct {
34
34
} ngx_http_lua_value_t ;
35
35
36
36
37
+ typedef struct {
38
+ int len ;
39
+ /* this padding hole on 64-bit systems is expected */
40
+ u_char * data ;
41
+ } ngx_http_lua_ffi_str_t ;
42
+
43
+
37
44
lua_State * ngx_http_lua_get_global_state (ngx_conf_t * cf );
38
45
39
46
ngx_http_request_t * ngx_http_lua_get_request (lua_State * L );
Original file line number Diff line number Diff line change 10
10
11
11
12
12
#include "ngx_http_lua_common.h"
13
+ #include "ngx_http_lua_api.h"
13
14
14
15
15
16
#ifndef NGX_UNESCAPE_URI_COMPONENT
18
19
19
20
20
21
#ifndef NGX_LUA_NO_FFI_API
21
- typedef struct {
22
- int len ;
23
- /* this padding hole on 64-bit systems is expected */
24
- u_char * data ;
25
- } ngx_http_lua_ffi_str_t ;
26
-
27
-
28
22
typedef struct {
29
23
ngx_http_lua_ffi_str_t key ;
30
24
ngx_http_lua_ffi_str_t value ;
You can’t perform that action at this time.
0 commit comments