[Groonga-commit] groonga/groonga at d0651e3 [master] grn_table_get_token_filters_string: improve name

Back to archive index
Kouhei Sutou null+****@clear*****
Mon Oct 29 16:09:43 JST 2018


Kouhei Sutou	2018-10-29 16:09:43 +0900 (Mon, 29 Oct 2018)

  Revision: d0651e3e3df6f8865b4e6ebda3b5597fb70e959e
  https://github.com/groonga/groonga/commit/d0651e3e3df6f8865b4e6ebda3b5597fb70e959e

  Message:
    grn_table_get_token_filters_string: improve name

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

  Modified: include/groonga/table.h (+1 -1)
===================================================================
--- include/groonga/table.h    2018-10-29 16:09:06 +0900 (edfdfb585)
+++ include/groonga/table.h    2018-10-29 16:09:43 +0900 (a4be9d05c)
@@ -322,7 +322,7 @@ grn_table_cache_token_filter_options(grn_ctx *ctx,
                                      void *user_data);
 
 GRN_API grn_rc
-grn_table_get_token_filter_strings(grn_ctx *ctx,
+grn_table_get_token_filters_string(grn_ctx *ctx,
                                    grn_obj *table,
                                    grn_obj *output);
 

  Modified: lib/table.c (+4 -4)
===================================================================
--- lib/table.c    2018-10-29 16:09:06 +0900 (a53557336)
+++ lib/table.c    2018-10-29 16:09:43 +0900 (2c31c5215)
@@ -473,7 +473,7 @@ grn_table_get_module_string(grn_ctx *ctx,
 }
 
 static grn_rc
-grn_table_get_module_strings(grn_ctx *ctx,
+grn_table_get_modules_string(grn_ctx *ctx,
                              grn_obj *table,
                              grn_obj *output,
                              grn_info_type type,
@@ -487,7 +487,7 @@ grn_table_get_module_strings(grn_ctx *ctx,
 
   if (!grn_obj_is_lexicon(ctx, table)) {
     ERR(GRN_INVALID_ARGUMENT,
-        "[table][%s][options][strings] table must be key table: %s",
+        "[table][%s][options][string] table must be key table: %s",
         context_tag,
         table ? grn_obj_type_to_string(table->header.type) : "(null)");
     GRN_API_RETURN(ctx->rc);
@@ -709,11 +709,11 @@ grn_table_cache_token_filter_options(grn_ctx *ctx,
 }
 
 grn_rc
-grn_table_get_token_filter_strings(grn_ctx *ctx,
+grn_table_get_token_filters_string(grn_ctx *ctx,
                                    grn_obj *table,
                                    grn_obj *output)
 {
-  return grn_table_get_module_strings(ctx,
+  return grn_table_get_modules_string(ctx,
                                       table,
                                       output,
                                       GRN_INFO_TOKEN_FILTERS,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20181029/d845ee59/attachment-0001.html>


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