null+****@clear*****
null+****@clear*****
2010年 6月 23日 (水) 11:35:18 JST
Daijiro MORI 2010-06-23 02:35:18 +0000 (Wed, 23 Jun 2010)
New Revision: b746a0dcb1cc7fa709888d5ddec60f7ee288fc62
Log:
Export grn_output_obj. grn_text_otoj will be obsolete.
Modified files:
groonga.h
lib/output.h
Modified: groonga.h (+4 -0)
===================================================================
--- groonga.h 2010-06-23 02:23:58 +0000 (165f7a2)
+++ groonga.h 2010-06-23 02:35:18 +0000 (c60582c)
@@ -1678,6 +1678,10 @@ struct _grn_obj_format {
GRN_OBJ_FIN((ctx), &(format)->columns);\
} while (0)
+GRN_API void grn_output_obj(grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type,
+ grn_obj *obj, grn_obj_format *format);
+
+/* obsolete */
GRN_API grn_rc grn_text_otoj(grn_ctx *ctx, grn_obj *bulk, grn_obj *obj,
grn_obj_format *format);
Modified: lib/output.h (+0 -2)
===================================================================
--- lib/output.h 2010-06-23 02:23:58 +0000 (17ad24a)
+++ lib/output.h 2010-06-23 02:35:18 +0000 (4632cb6)
@@ -47,8 +47,6 @@ void grn_output_cstr(grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type
const char *value);
void grn_output_str(grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type,
const char *value, size_t value_len);
-void grn_output_obj(grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type,
- grn_obj *obj, grn_obj_format *format);
#define GRN_OUTPUT_ARRAY_OPEN(name,nelements) \
(grn_output_array_open(ctx, ctx->impl->outbuf, ctx->impl->output_type, name, nelements))