Kouhei Sutou
null+****@clear*****
Tue Oct 8 22:44:52 JST 2013
Kouhei Sutou 2013-10-08 22:44:52 +0900 (Tue, 08 Oct 2013) New Revision: 77685396d6474003d67a7a8b395b1a5578f4ecdc https://github.com/groonga/groonga/commit/77685396d6474003d67a7a8b395b1a5578f4ecdc Message: ruby_load: indent Modified files: plugins/ruby/load.c Modified: plugins/ruby/load.c (+9 -9) =================================================================== --- plugins/ruby/load.c 2013-10-08 22:44:20 +0900 (f80d211) +++ plugins/ruby/load.c 2013-10-08 22:44:52 +0900 (c043505) @@ -50,15 +50,15 @@ output_result(grn_ctx *ctx, mrb_value result) grn_obj_unlink(ctx, &grn_message); GRN_OUTPUT_MAP_CLOSE(); } else { - grn_obj grn_result; - GRN_OUTPUT_CSTR("value"); - GRN_VOID_INIT(&grn_result); - if (grn_mrb_to_grn(ctx, result, &grn_result) == GRN_SUCCESS) { - GRN_OUTPUT_OBJ(&grn_result, NULL); - } else { - GRN_OUTPUT_CSTR("unsupported return value"); - } - grn_obj_unlink(ctx, &grn_result); + grn_obj grn_result; + GRN_OUTPUT_CSTR("value"); + GRN_VOID_INIT(&grn_result); + if (grn_mrb_to_grn(ctx, result, &grn_result) == GRN_SUCCESS) { + GRN_OUTPUT_OBJ(&grn_result, NULL); + } else { + GRN_OUTPUT_CSTR("unsupported return value"); + } + grn_obj_unlink(ctx, &grn_result); } GRN_OUTPUT_MAP_CLOSE(); } -------------- next part -------------- HTML����������������������������... 下載