Kouhei Sutou
null+****@clear*****
Mon Jul 6 17:29:36 JST 2015
Kouhei Sutou 2015-07-06 17:29:36 +0900 (Mon, 06 Jul 2015) New Revision: 81c807de51ec96082d9ffaabc1e4e8c017999c2a https://github.com/groonga/groonga/commit/81c807de51ec96082d9ffaabc1e4e8c017999c2a Message: mrb: expand abbreviation Modified files: lib/mrb/mrb_table_group_result.c Modified: lib/mrb/mrb_table_group_result.c (+6 -6) =================================================================== --- lib/mrb/mrb_table_group_result.c 2015-07-06 16:47:29 +0900 (e629ae1) +++ lib/mrb/mrb_table_group_result.c 2015-07-06 17:29:36 +0900 (02c73c7) @@ -182,15 +182,15 @@ mrb_grn_table_group_result_set_operator(mrb_state *mrb, mrb_value self) } static mrb_value -mrb_grn_table_group_result_set_max_n_subrecs(mrb_state *mrb, mrb_value self) +mrb_grn_table_group_result_set_max_n_sub_records(mrb_state *mrb, mrb_value self) { grn_table_group_result *result; - mrb_int max_n_subrecs; + mrb_int max_n_sub_records; result = DATA_PTR(self); - mrb_get_args(mrb, "i", &max_n_subrecs); + mrb_get_args(mrb, "i", &max_n_sub_records); - result->max_n_subrecs = max_n_subrecs; + result->max_n_subrecs = max_n_sub_records; return mrb_nil_value(); } @@ -245,8 +245,8 @@ grn_mrb_table_group_result_init(grn_ctx *ctx) mrb_grn_table_group_result_set_flags, MRB_ARGS_REQ(1)); mrb_define_method(mrb, klass, "operator=", mrb_grn_table_group_result_set_operator, MRB_ARGS_REQ(1)); - mrb_define_method(mrb, klass, "max_n_subrecs=", - mrb_grn_table_group_result_set_max_n_subrecs, + mrb_define_method(mrb, klass, "max_n_sub_records=", + mrb_grn_table_group_result_set_max_n_sub_records, MRB_ARGS_REQ(1)); mrb_define_method(mrb, klass, "calc_target=", mrb_grn_table_group_result_set_calc_target, MRB_ARGS_REQ(1)); -------------- next part -------------- HTML����������������������������...Télécharger