Commit 5e3ab6da authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Perhaps this looks right, but not sure

parent 6f9c9f85
......@@ -61,7 +61,8 @@ mrb_value run(mrb_state *mrb, mrb_value self) {
void init_module(mrb_state *mrb) {
auto module = mrb_define_module(mrb, "Nghttpx");
mrb_define_class_method(mrb, module, "run", run, MRB_ARGS_NONE());
mrb_define_class_method(mrb, module, "run", run,
MRB_ARGS_REQ(1) | MRB_ARGS_BLOCK());
init_request_class(mrb, module);
init_response_class(mrb, module);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment