[Groonga-commit] pgroonga/pgroonga at 1355a97 [master] Move function prototype

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Apr 23 22:33:05 JST 2016


Kouhei Sutou	2016-04-23 22:33:05 +0900 (Sat, 23 Apr 2016)

  New Revision: 1355a971adad849eb8473f9ad52ea4ff328d7834
  https://github.com/pgroonga/pgroonga/commit/1355a971adad849eb8473f9ad52ea4ff328d7834

  Message:
    Move function prototype

  Modified files:
    src/pgrn_highlight_html.c
    src/pgrn_snippet_html.c
    src/pgroonga.c

  Modified: src/pgrn_highlight_html.c (+2 -0)
===================================================================
--- src/pgrn_highlight_html.c    2016-04-23 22:13:39 +0900 (e4e7f95)
+++ src/pgrn_highlight_html.c    2016-04-23 22:33:05 +0900 (26ded1f)
@@ -12,6 +12,8 @@ static grn_ctx *ctx = &PGrnContext;
 static grn_obj *PGrnKeywordsTable = NULL;
 static grn_obj PGrnKeywordIDs;
 
+PG_FUNCTION_INFO_V1(pgroonga_highlight_html);
+
 void
 PGrnInitializeHighlightHTML(void)
 {

  Modified: src/pgrn_snippet_html.c (+2 -0)
===================================================================
--- src/pgrn_snippet_html.c    2016-04-23 22:13:39 +0900 (27cd254)
+++ src/pgrn_snippet_html.c    2016-04-23 22:33:05 +0900 (9db9c7d)
@@ -9,6 +9,8 @@
 
 static grn_ctx *ctx = &PGrnContext;
 
+PG_FUNCTION_INFO_V1(pgroonga_snippet_html);
+
 static grn_obj *
 PGrnSnipCreate(ArrayType *keywords)
 {

  Modified: src/pgroonga.c (+0 -2)
===================================================================
--- src/pgroonga.c    2016-04-23 22:13:39 +0900 (7ffbc99)
+++ src/pgroonga.c    2016-04-23 22:33:05 +0900 (f83f114)
@@ -135,8 +135,6 @@ PG_FUNCTION_INFO_V1(pgroonga_score);
 #endif
 PG_FUNCTION_INFO_V1(pgroonga_table_name);
 PG_FUNCTION_INFO_V1(pgroonga_command);
-PG_FUNCTION_INFO_V1(pgroonga_snippet_html);
-PG_FUNCTION_INFO_V1(pgroonga_highlight_html);
 
 PG_FUNCTION_INFO_V1(pgroonga_match_term_text);
 PG_FUNCTION_INFO_V1(pgroonga_match_term_text_array);
-------------- next part --------------
HTML����������������������������...
Télécharger 



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