summaryrefslogtreecommitdiffhomepage
path: root/src/ruby/nxt_ruby.h
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2020-11-19 21:19:57 +0300
committerAndrei Belov <defan@nginx.com>2020-11-19 21:19:57 +0300
commit7f9079a3cd4cdb6ac3fea53f10bd34fe8b82fe9c (patch)
treec79dc48a3260156f3f824ecd299e5a4934d749c5 /src/ruby/nxt_ruby.h
parent646d047e5d12515ceac02279b373601ce0752982 (diff)
parent806a9b2515c60b12a68cd97af04f7fa5cb4dffed (diff)
downloadunit-7f9079a3cd4cdb6ac3fea53f10bd34fe8b82fe9c.tar.gz
unit-7f9079a3cd4cdb6ac3fea53f10bd34fe8b82fe9c.tar.bz2
Merged with the default branch.1.21.0-1
Diffstat (limited to 'src/ruby/nxt_ruby.h')
-rw-r--r--src/ruby/nxt_ruby.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ruby/nxt_ruby.h b/src/ruby/nxt_ruby.h
index 77a65894..26430021 100644
--- a/src/ruby/nxt_ruby.h
+++ b/src/ruby/nxt_ruby.h
@@ -21,9 +21,13 @@
typedef struct {
- nxt_unit_ctx_t *unit_ctx;
+ VALUE env;
+ VALUE io_input;
+ VALUE io_error;
+ VALUE thread;
+ nxt_unit_ctx_t *ctx;
nxt_unit_request_info_t *req;
-} nxt_ruby_run_ctx_t;
+} nxt_ruby_ctx_t;
VALUE nxt_ruby_stream_io_input_init(void);