[Groonga-commit] groonga/groonga [master] table: export some library functions for table plugin.

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 25日 (月) 15:20:48 JST


Daijiro MORI	2012-06-25 15:20:48 +0900 (Mon, 25 Jun 2012)

  New Revision: e7a52b8018b8dd4758de20d500ac4e3c52c378cf
  https://github.com/groonga/groonga/commit/e7a52b8018b8dd4758de20d500ac4e3c52c378cf

  Log:
    table: export some library functions for table plugin.

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

  Modified: lib/db.h (+7 -7)
===================================================================
--- lib/db.h    2012-06-25 15:19:42 +0900 (4948de8)
+++ lib/db.h    2012-06-25 15:20:48 +0900 (32a20d6)
@@ -432,13 +432,13 @@ GRN_API grn_obj *grn_table_create_for_group(grn_ctx *ctx,
 #define KEY_NAME "_key"
 #define ID_NAME "_id"
 
-void grn_load_(grn_ctx *ctx, grn_content_type input_type,
-               const char *table, unsigned int table_len,
-               const char *columns, unsigned int columns_len,
-               const char *values, unsigned int values_len,
-               const char *ifexists, unsigned int ifexists_len,
-               const char *each, unsigned int each_len,
-               uint32_t emit_level);
+GRN_API void grn_load_(grn_ctx *ctx, grn_content_type input_type,
+                       const char *table, unsigned int table_len,
+                       const char *columns, unsigned int columns_len,
+                       const char *values, unsigned int values_len,
+                       const char *ifexists, unsigned int ifexists_len,
+                       const char *each, unsigned int each_len,
+                       uint32_t emit_level);
 
 #ifdef __cplusplus
 }

  Modified: lib/hash.h (+3 -3)
===================================================================
--- lib/hash.h    2012-06-25 15:19:42 +0900 (002dd97)
+++ lib/hash.h    2012-06-25 15:20:48 +0900 (626ad01)
@@ -179,9 +179,9 @@ struct _grn_table_queue {
   grn_id cap;
 };
 
-void grn_array_queue_lock_clear(grn_ctx *ctx, grn_array *array);
-void grn_array_clear_curr_rec(grn_ctx *ctx, grn_array *array);
-grn_table_queue *grn_array_queue(grn_ctx *ctx, grn_array *array);
+GRN_API void grn_array_queue_lock_clear(grn_ctx *ctx, grn_array *array);
+GRN_API void grn_array_clear_curr_rec(grn_ctx *ctx, grn_array *array);
+GRN_API grn_table_queue *grn_array_queue(grn_ctx *ctx, grn_array *array);
 
 /**** grn_hash ****/
 
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



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