Kouhei Sutou
null+****@clear*****
Tue Feb 10 00:02:58 JST 2015
Kouhei Sutou 2015-02-10 00:02:58 +0900 (Tue, 10 Feb 2015) New Revision: baa53fba31de6f9124697bda0181c199b0292a04 https://github.com/groonga/groonga/commit/baa53fba31de6f9124697bda0181c199b0292a04 Message: mrb: use mrb_bool_value() Modified files: lib/mrb/mrb_table.c Modified: lib/mrb/mrb_table.c (+1 -1) =================================================================== --- lib/mrb/mrb_table.c 2015-02-10 00:02:36 +0900 (b9e6460) +++ lib/mrb/mrb_table.c 2015-02-10 00:02:58 +0900 (049065e) @@ -61,7 +61,7 @@ mrb_grn_table_is_empty(mrb_state *mrb, mrb_value self) size = grn_table_size(ctx, DATA_PTR(self)); grn_mrb_ctx_check(mrb); - return (size == 0) ? mrb_true_value() : mrb_false_value(); + return mrb_bool_value(size == 0); } static mrb_value -------------- next part -------------- HTML����������������������������...Download