Kouhei Sutou
null+****@clear*****
Sat Feb 20 20:42:06 JST 2016
Kouhei Sutou 2016-02-20 20:42:06 +0900 (Sat, 20 Feb 2016) New Revision: 169e088758d7a7a22e5fa20ef41bfbed1d96d387 https://github.com/groonga/groonga/commit/169e088758d7a7a22e5fa20ef41bfbed1d96d387 Message: Move related functions closer Modified files: lib/proc/proc_snippet.c Modified: lib/proc/proc_snippet.c (+7 -7) =================================================================== --- lib/proc/proc_snippet.c 2016-02-20 20:41:41 +0900 (35b2d97) +++ lib/proc/proc_snippet.c 2016-02-20 20:42:06 +0900 (5d320a1) @@ -261,6 +261,13 @@ exit : return snippets; } +void +grn_proc_init_snippet(grn_ctx *ctx) +{ + grn_proc_create(ctx, "snippet", -1, GRN_PROC_FUNCTION, + func_snippet, NULL, NULL, 0, NULL); +} + static grn_obj * func_snippet_html(grn_ctx *ctx, int nargs, grn_obj **args, grn_user_data *user_data) @@ -330,13 +337,6 @@ func_snippet_html(grn_ctx *ctx, int nargs, grn_obj **args, } void -grn_proc_init_snippet(grn_ctx *ctx) -{ - grn_proc_create(ctx, "snippet", -1, GRN_PROC_FUNCTION, - func_snippet, NULL, NULL, 0, NULL); -} - -void grn_proc_init_snippet_html(grn_ctx *ctx) { grn_proc_create(ctx, "snippet_html", -1, GRN_PROC_FUNCTION, -------------- next part -------------- HTML����������������������������...Download