Kouhei Sutou
null+****@clear*****
Tue Jul 17 13:49:38 JST 2018
Kouhei Sutou 2018-07-17 13:49:38 +0900 (Tue, 17 Jul 2018) New Revision: 9d59944aaa40deaf34a439edc30cbff1ada1319a https://github.com/groonga/groonga/commit/9d59944aaa40deaf34a439edc30cbff1ada1319a Message: Export grn_raw_string Modified files: include/groonga.h include/groonga/Makefile.am lib/c_sources.am lib/grn_load.h lib/grn_proc.h lib/normalizer.c lib/proc/proc_select.c lib/raw_string.c lib/tokenizers.c Renamed files: include/groonga/raw_string.h (from lib/grn_raw_string.h) Modified: include/groonga.h (+1 -0) =================================================================== --- include/groonga.h 2018-07-04 11:43:55 +0900 (4d948951e) +++ include/groonga.h 2018-07-17 13:49:38 +0900 (583104af9) @@ -43,6 +43,7 @@ #include "groonga/option.h" #include "groonga/output.h" #include "groonga/pat.h" +#include "groonga/raw_string.h" #include "groonga/request_canceler.h" #include "groonga/request_timer.h" #include "groonga/string.h" Modified: include/groonga/Makefile.am (+1 -0) =================================================================== --- include/groonga/Makefile.am 2018-07-04 11:43:55 +0900 (51f33457a) +++ include/groonga/Makefile.am 2018-07-17 13:49:38 +0900 (b9e1dadf3) @@ -28,6 +28,7 @@ groonga_include_HEADERS = \ pat.h \ plugin.h \ portability.h \ + raw_string.h \ request_canceler.h \ request_timer.h \ scorer.h \ Renamed: include/groonga/raw_string.h (+2 -4) 94% =================================================================== --- lib/grn_raw_string.h 2018-07-04 11:43:55 +0900 (b115ad838) +++ include/groonga/raw_string.h 2018-07-17 13:49:38 +0900 (4499e5d29) @@ -1,6 +1,6 @@ /* -*- c-basic-offset: 2 -*- */ /* - Copyright(C) 2016-2017 Brazil + Copyright(C) 2016-2018 Brazil This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -18,8 +18,6 @@ #pragma once -#include "grn.h" - #ifdef __cplusplus extern "C" { #endif @@ -55,7 +53,7 @@ typedef struct { size_t length; } grn_raw_string; -void grn_raw_string_lstrip(grn_ctx *ctx, grn_raw_string *string); +GRN_API void grn_raw_string_lstrip(grn_ctx *ctx, grn_raw_string *string); #ifdef __cplusplus } Modified: lib/c_sources.am (+0 -1) =================================================================== --- lib/c_sources.am 2018-07-04 11:43:55 +0900 (ee601829f) +++ lib/c_sources.am 2018-07-17 13:49:38 +0900 (1895fb0a7) @@ -76,7 +76,6 @@ libgroonga_c_sources = \ proc.c \ grn_proc.h \ raw_string.c \ - grn_raw_string.h \ report.c \ grn_report.h \ request_canceler.c \ Modified: lib/grn_load.h (+0 -1) =================================================================== --- lib/grn_load.h 2018-07-04 11:43:55 +0900 (b4345c953) +++ lib/grn_load.h 2018-07-17 13:49:38 +0900 (5b34d2279) @@ -19,7 +19,6 @@ #pragma once #include "grn.h" -#include "grn_raw_string.h" #ifdef __cplusplus extern "C" { Modified: lib/grn_proc.h (+0 -1) =================================================================== --- lib/grn_proc.h 2018-07-04 11:43:55 +0900 (d5c185709) +++ lib/grn_proc.h 2018-07-17 13:49:38 +0900 (dfa4a6956) @@ -19,7 +19,6 @@ #pragma once #include "grn.h" -#include "grn_raw_string.h" #ifdef __cplusplus extern "C" { Modified: lib/normalizer.c (+0 -1) =================================================================== --- lib/normalizer.c 2018-07-04 11:43:55 +0900 (77fc9763e) +++ lib/normalizer.c 2018-07-17 13:49:38 +0900 (3c664d73f) @@ -20,7 +20,6 @@ #include "grn_normalizer.h" #include "grn_string.h" -#include "grn_raw_string.h" #include "grn_nfkc.h" #include <groonga/normalizer.h> #include <groonga/tokenizer.h> Modified: lib/proc/proc_select.c (+0 -1) =================================================================== --- lib/proc/proc_select.c 2018-07-04 11:43:55 +0900 (22461bf90) +++ lib/proc/proc_select.c 2018-07-17 13:49:38 +0900 (2b30d0016) @@ -17,7 +17,6 @@ */ #include "../grn_proc.h" -#include "../grn_raw_string.h" #include "../grn_expr.h" #include "../grn_str.h" #include "../grn_output.h" Modified: lib/raw_string.c (+0 -1) =================================================================== --- lib/raw_string.c 2018-07-04 11:43:55 +0900 (81905bf69) +++ lib/raw_string.c 2018-07-17 13:49:38 +0900 (f03af803c) @@ -16,7 +16,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "grn_raw_string.h" #include "grn_str.h" void Modified: lib/tokenizers.c (+0 -1) =================================================================== --- lib/tokenizers.c 2018-07-04 11:43:55 +0900 (bfd88d7b8) +++ lib/tokenizers.c 2018-07-17 13:49:38 +0900 (db18609f6) @@ -21,7 +21,6 @@ #include "grn_token_cursor.h" #include "grn_string.h" #include "grn_plugin.h" -#include "grn_raw_string.h" grn_obj *grn_tokenizer_uvector = NULL; -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180717/f65dd8b7/attachment-0001.htm