[Groonga-commit] groonga/groonga at 47d13bb [master] mrb: fix the number of arguments

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Feb 2 14:34:19 JST 2015


Kouhei Sutou	2015-02-02 14:34:19 +0900 (Mon, 02 Feb 2015)

  New Revision: 47d13bb5dd6318c661fc0dc4155b1637e2175a1e
  https://github.com/groonga/groonga/commit/47d13bb5dd6318c661fc0dc4155b1637e2175a1e

  Message:
    mrb: fix the number of arguments

  Modified files:
    lib/mrb/mrb_command.c

  Modified: lib/mrb/mrb_command.c (+1 -1)
===================================================================
--- lib/mrb/mrb_command.c    2015-02-02 12:53:43 +0900 (f0a49d2)
+++ lib/mrb/mrb_command.c    2015-02-02 14:34:19 +0900 (0ff3a0d)
@@ -172,7 +172,7 @@ grn_mrb_command_init(grn_ctx *ctx)
 
   mrb_define_singleton_method(mrb, (struct RObject *)klass, "register",
                               mrb_grn_command_singleton_register,
-                              MRB_ARGS_REQ(5));
+                              MRB_ARGS_REQ(2));
 
   mrb_define_method(mrb, klass, "initialize",
                     mrb_grn_command_initialize, MRB_ARGS_REQ(1));
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index