[Groonga-commit] groonga/groonga [master] windows: export functions that are used by table plugin

Back to archive index

null+****@clear***** null+****@clear*****
2012年 5月 17日 (木) 23:22:16 JST


Kouhei Sutou	2012-05-17 23:22:16 +0900 (Thu, 17 May 2012)

  New Revision: fe5ed5748cf345b4394f63b48279d1fd191cdd1a

  Log:
    windows: export functions that are used by table plugin

  Modified files:
    lib/db.h
    lib/output.h

  Modified: lib/db.h (+7 -3)
===================================================================
--- lib/db.h    2012-05-17 23:17:12 +0900 (7ac0dcd)
+++ lib/db.h    2012-05-17 23:22:16 +0900 (dce72e2)
@@ -421,9 +421,13 @@ void grn_expr_pack(grn_ctx *ctx, grn_obj *buf, grn_obj *expr);
 GRN_API grn_rc grn_expr_inspect(grn_ctx *ctx, grn_obj *buf, grn_obj *expr);
 grn_obj *grn_expr_open(grn_ctx *ctx, grn_obj_spec *spec, const uint8_t *p, const uint8_t *pe);
 
-grn_obj *grn_table_create_for_group(grn_ctx *ctx, const char *name, unsigned int name_size,
-                                    const char *path, grn_obj_flags flags,
-                                    grn_obj *group_key, grn_obj *value_type);
+GRN_API grn_obj *grn_table_create_for_group(grn_ctx *ctx,
+                                            const char *name,
+                                            unsigned int name_size,
+                                            const char *path,
+                                            grn_obj_flags flags,
+                                            grn_obj *group_key,
+                                            grn_obj *value_type);
 
 #define KEY_NAME "_key"
 #define ID_NAME "_id"

  Modified: lib/output.h (+9 -6)
===================================================================
--- lib/output.h    2012-05-17 23:17:12 +0900 (fe91863)
+++ lib/output.h    2012-05-17 23:22:16 +0900 (588d10b)
@@ -45,16 +45,19 @@ GRN_API void grn_output_map_open(grn_ctx *ctx, grn_obj *outbuf, grn_content_type
 GRN_API void grn_output_map_close(grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type);
 void grn_output_int32(grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type,
                       int32_t value);
-void grn_output_int64(grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type,
-                      int64_t value);
+GRN_API void grn_output_int64(grn_ctx *ctx, grn_obj *outbuf,
+                              grn_content_type output_type,
+                              int64_t value);
 void grn_output_float(grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type,
                       double value);
 GRN_API 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_bool(grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type,
-                     char value);
+GRN_API void grn_output_str(grn_ctx *ctx, grn_obj *outbuf,
+                            grn_content_type output_type,
+                            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);
 
 #define GRN_OUTPUT_ARRAY_OPEN(name,nelements) \
   (grn_output_array_open(ctx, ctx->impl->outbuf, ctx->impl->output_type, name, nelements))




Groonga-commit メーリングリストの案内
Back to archive index