[Groonga-commit] groonga/groonga [master] Fix grn_dat_scan() to meet the groonga coding style.

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 8日 (金) 13:07:39 JST


Susumu Yata	2012-06-08 13:07:39 +0900 (Fri, 08 Jun 2012)

  New Revision: 10da6f8766d1b513ae7d21a258e22d181aa897b9

  Log:
    Fix grn_dat_scan() to meet the groonga coding style.

  Modified files:
    lib/dat.cpp

  Modified: lib/dat.cpp (+4 -3)
===================================================================
--- lib/dat.cpp    2012-06-08 13:05:21 +0900 (96d0bf4)
+++ lib/dat.cpp    2012-06-08 13:07:39 +0900 (a20f398)
@@ -648,9 +648,10 @@ grn_dat_update(grn_ctx *ctx, grn_dat *dat,
   return GRN_SUCCESS;
 }
 
-int grn_dat_scan(grn_ctx *ctx, grn_dat *dat, const char *str,
-                 unsigned int str_size, grn_dat_scan_hit *scan_hits,
-                 unsigned int max_num_scan_hits, const char **str_rest) {
+int
+grn_dat_scan(grn_ctx *ctx, grn_dat *dat, const char *str,
+             unsigned int str_size, grn_dat_scan_hit *scan_hits,
+             unsigned int max_num_scan_hits, const char **str_rest) {
   if (!grn_dat_open_trie_if_needed(ctx, dat) || !str ||
       !(dat->obj.header.flags & GRN_OBJ_KEY_VAR_SIZE) || !scan_hits) {
     return -1;




Groonga-commit メーリングリストの案内
Back to archive index