Kouhei Sutou
null+****@clear*****
Thu Oct 11 22:55:18 JST 2012
Kouhei Sutou 2012-10-11 22:55:18 +0900 (Thu, 11 Oct 2012) New Revision: 27eb75e0b8d9b5d898cf8264b66b4d6e4026235e https://github.com/groonga/groonga/commit/27eb75e0b8d9b5d898cf8264b66b4d6e4026235e Log: Use grn_bool Modified files: lib/output.c lib/output.h Modified: lib/output.c (+1 -1) =================================================================== --- lib/output.c 2012-10-11 22:43:44 +0900 (e113758) +++ lib/output.c 2012-10-11 22:55:18 +0900 (984b5b3) @@ -340,7 +340,7 @@ grn_output_cstr(grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, } void -grn_output_bool(grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, char value) +grn_output_bool(grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, grn_bool value) { put_delimiter(ctx, outbuf, output_type); switch (output_type) { Modified: lib/output.h (+1 -1) =================================================================== --- lib/output.h 2012-10-11 22:43:44 +0900 (3fb095a) +++ lib/output.h 2012-10-11 22:55:18 +0900 (db2afa5) @@ -57,7 +57,7 @@ GRN_API void grn_output_str(grn_ctx *ctx, grn_obj *outbuf, const char *value, size_t value_len); GRN_API void grn_output_bool(grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, - char value); + grn_bool value); #define GRN_OUTPUT_ARRAY_OPEN(name,nelements) \ (grn_output_array_open(ctx, ctx->impl->outbuf, ctx->impl->output_type, name, nelements)) -------------- next part -------------- HTML����������������������������...下载