[Groonga-commit] groonga/groonga at c4fce32 [master] Add a missing file

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Jun 26 18:21:57 JST 2016


Kouhei Sutou	2016-06-26 18:21:57 +0900 (Sun, 26 Jun 2016)

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

  Message:
    Add a missing file

  Added files:
    lib/grn_nfkc.h
  Modified files:
    lib/sources.am

  Added: lib/grn_nfkc.h (+39 -0) 100644
===================================================================
--- /dev/null
+++ lib/grn_nfkc.h    2016-06-26 18:21:57 +0900 (139cd5b)
@@ -0,0 +1,39 @@
+/* -*- c-basic-offset: 2 -*- */
+/*
+  Copyright(C) 2009-2016 Brazil
+
+  This library is free software; you can redistribute it and/or
+  modify it under the terms of the GNU Lesser General Public
+  License version 2.1 as published by the Free Software Foundation.
+
+  This library is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+  Lesser General Public License for more details.
+
+  You should have received a copy of the GNU Lesser General Public
+  License along with this library; if not, write to the Free Software
+  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+*/
+
+#pragma once
+
+#include "grn.h"
+
+#ifdef	__cplusplus
+extern "C" {
+#endif
+
+grn_char_type grn_nfkc50_char_type(const unsigned char *utf8);
+
+const char *grn_nfkc_decompose(const unsigned char *utf8);
+const char *grn_nfkc50_decompose(const unsigned char *utf8);
+
+const char *grn_nfkc_compose(const unsigned char *prefix_utf8,
+                             const unsigned char *suffix_utf8);
+const char *grn_nfkc50_compose(const unsigned char *prefix_utf8,
+                               const unsigned char *suffix_utf8);
+
+#ifdef __cplusplus
+}
+#endif

  Modified: lib/sources.am (+1 -0)
===================================================================
--- lib/sources.am    2016-06-26 18:20:03 +0900 (413c2f6)
+++ lib/sources.am    2016-06-26 18:21:57 +0900 (fe1754d)
@@ -45,6 +45,7 @@ libgroonga_la_SOURCES =				\
 	grn_mrb.h				\
 	grn_msgpack.h				\
 	nfkc.c					\
+	grn_nfkc.h				\
 	nfkc50.c				\
 	normalizer.c				\
 	grn_normalizer.h			\
-------------- next part --------------
HTML����������������������������...
Download 



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