[Groonga-commit] groonga/groonga at de5b1e7 [master] Add grn_ctx_get_all_normalizers()

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Oct 19 15:40:40 JST 2015


Kouhei Sutou	2015-10-19 15:40:40 +0900 (Mon, 19 Oct 2015)

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

  Message:
    Add grn_ctx_get_all_normalizers()

  Modified files:
    include/groonga/groonga.h
    lib/db.c

  Modified: include/groonga/groonga.h (+2 -0)
===================================================================
--- include/groonga/groonga.h    2015-10-19 15:39:31 +0900 (62133f3)
+++ include/groonga/groonga.h    2015-10-19 15:40:40 +0900 (241332a)
@@ -444,6 +444,8 @@ GRN_API grn_rc grn_ctx_get_all_tables(grn_ctx *ctx, grn_obj *tables_buffer);
 GRN_API grn_rc grn_ctx_get_all_types(grn_ctx *ctx, grn_obj *types_buffer);
 GRN_API grn_rc grn_ctx_get_all_tokenizers(grn_ctx *ctx,
                                           grn_obj *tokenizers_buffer);
+GRN_API grn_rc grn_ctx_get_all_normalizers(grn_ctx *ctx,
+                                           grn_obj *normalizers_buffer);
 
 typedef enum {
   GRN_DB_VOID = 0,

  Modified: lib/db.c (+7 -0)
===================================================================
--- lib/db.c    2015-10-19 15:39:31 +0900 (d89c604)
+++ lib/db.c    2015-10-19 15:40:40 +0900 (652f68c)
@@ -13446,3 +13446,10 @@ grn_ctx_get_all_tokenizers(grn_ctx *ctx, grn_obj *tokenizers_buffer)
   return grn_ctx_get_all_objects(ctx, tokenizers_buffer,
                                  grn_obj_is_tokenizer_proc);
 }
+
+grn_rc
+grn_ctx_get_all_normalizers(grn_ctx *ctx, grn_obj *normalizers_buffer)
+{
+  return grn_ctx_get_all_objects(ctx, normalizers_buffer,
+                                 grn_obj_is_normalizer_proc);
+}
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index