[Groonga-commit] groonga/groonga at 4e14d0c [master] Rename token.c to token_cursor.c

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Nov 9 22:30:02 JST 2014


Kouhei Sutou	2014-11-09 22:30:02 +0900 (Sun, 09 Nov 2014)

  New Revision: 4e14d0c4c5b77c6f621fd18790d36b33c59316cb
  https://github.com/groonga/groonga/commit/4e14d0c4c5b77c6f621fd18790d36b33c59316cb

  Message:
    Rename token.c to token_cursor.c
    
    It is for following grn_token -> grn_token_cursor change.

  Modified files:
    lib/db.c
    lib/ii.c
    lib/proc.c
    lib/sources.am
    lib/tokenizer.c
    lib/tokenizers.c
    plugins/suggest/suggest.c
  Renamed files:
    lib/grn_token_cursor.h
      (from lib/grn_token.h)
    lib/token_cursor.c
      (from lib/token.c)

  Modified: lib/db.c (+1 -1)
===================================================================
--- lib/db.c    2014-11-09 22:26:12 +0900 (f7656cf)
+++ lib/db.c    2014-11-09 22:30:02 +0900 (c4785ba)
@@ -21,7 +21,7 @@
 #include "grn_dat.h"
 #include "grn_ii.h"
 #include "grn_ctx_impl.h"
-#include "grn_token.h"
+#include "grn_token_cursor.h"
 #include "grn_tokenizers.h"
 #include "grn_proc.h"
 #include "grn_plugin.h"

  Renamed: lib/grn_token_cursor.h (+3 -3) 95%
===================================================================
--- lib/grn_token.h    2014-11-09 22:26:12 +0900 (25af818)
+++ lib/grn_token_cursor.h    2014-11-09 22:30:02 +0900 (bd098d6)
@@ -14,8 +14,8 @@
   License along with this library; if not, write to the Free Software
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */
-#ifndef GRN_TOKEN_H
-#define GRN_TOKEN_H
+#ifndef GRN_TOKEN_CURSOR_H
+#define GRN_TOKEN_CURSOR_H
 
 #include "grn_ctx.h"
 #include "grn_db.h"
@@ -71,4 +71,4 @@ GRN_API grn_rc grn_token_cursor_close(grn_ctx *ctx, grn_token_cursor *token_curs
 }
 #endif
 
-#endif /* GRN_TOKEN_H */
+#endif /* GRN_TOKEN_CURSOR_H */

  Modified: lib/ii.c (+1 -1)
===================================================================
--- lib/ii.c    2014-11-09 22:26:12 +0900 (c6c01c9)
+++ lib/ii.c    2014-11-09 22:30:02 +0900 (b9a8327)
@@ -22,7 +22,7 @@
 
 #include "grn_ii.h"
 #include "grn_ctx_impl.h"
-#include "grn_token.h"
+#include "grn_token_cursor.h"
 #include "grn_pat.h"
 #include "grn_db.h"
 #include "grn_output.h"

  Modified: lib/proc.c (+1 -1)
===================================================================
--- lib/proc.c    2014-11-09 22:26:12 +0900 (f7f6991)
+++ lib/proc.c    2014-11-09 22:30:02 +0900 (b0a44d2)
@@ -23,7 +23,7 @@
 #include "grn_output.h"
 #include "grn_pat.h"
 #include "grn_geo.h"
-#include "grn_token.h"
+#include "grn_token_cursor.h"
 #include "grn_expr.h"
 
 #include <string.h>

  Modified: lib/sources.am (+2 -2)
===================================================================
--- lib/sources.am    2014-11-09 22:26:12 +0900 (76c018c)
+++ lib/sources.am    2014-11-09 22:30:02 +0900 (7ee0a58)
@@ -45,8 +45,8 @@ libgroonga_la_SOURCES =				\
 	grn_str.h				\
 	string.c				\
 	grn_string.h				\
-	token.c					\
-	grn_token.h				\
+	token_cursor.c				\
+	grn_token_cursor.h			\
 	tokenizer.c				\
 	tokenizers.c				\
 	grn_tokenizers.h			\

  Renamed: lib/token_cursor.c (+1 -1) 99%
===================================================================
--- lib/token.c    2014-11-09 22:26:12 +0900 (f3a46ba)
+++ lib/token_cursor.c    2014-11-09 22:30:02 +0900 (b12217d)
@@ -15,7 +15,7 @@
   License along with this library; if not, write to the Free Software
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */
-#include "grn_token.h"
+#include "grn_token_cursor.h"
 #include "grn_string.h"
 #include "grn_pat.h"
 #include "grn_dat.h"

  Modified: lib/tokenizer.c (+1 -1)
===================================================================
--- lib/tokenizer.c    2014-11-09 22:26:12 +0900 (4060faf)
+++ lib/tokenizer.c    2014-11-09 22:30:02 +0900 (e5692ff)
@@ -26,7 +26,7 @@
 #include "grn_db.h"
 #include "grn_str.h"
 #include "grn_string.h"
-#include "grn_token.h"
+#include "grn_token_cursor.h"
 
 /*
   Just for backward compatibility. See grn_plugin_charlen() instead.

  Modified: lib/tokenizers.c (+1 -1)
===================================================================
--- lib/tokenizers.c    2014-11-09 22:26:12 +0900 (5a8e491)
+++ lib/tokenizers.c    2014-11-09 22:30:02 +0900 (ab683d5)
@@ -16,7 +16,7 @@
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */
 #include <string.h>
-#include "grn_token.h"
+#include "grn_token_cursor.h"
 #include "grn_string.h"
 #include "grn_plugin.h"
 #include <groonga/tokenizer.h>

  Modified: plugins/suggest/suggest.c (+1 -1)
===================================================================
--- plugins/suggest/suggest.c    2014-11-09 22:26:12 +0900 (f3a9050)
+++ plugins/suggest/suggest.c    2014-11-09 22:30:02 +0900 (d615a8e)
@@ -18,7 +18,7 @@
 #include "grn_ctx.h"
 #include "grn_db.h"
 #include "grn_ii.h"
-#include "grn_token.h"
+#include "grn_token_cursor.h"
 #include "grn_output.h"
 #include <groonga/plugin.h>
 #include <string.h>
-------------- next part --------------
HTML����������������������������...
下載 



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