[Groonga-commit] ranguba/rroonga at 135756b [master] Create block by related variables

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Mar 5 22:58:29 JST 2016


Kouhei Sutou	2016-03-05 22:58:29 +0900 (Sat, 05 Mar 2016)

  New Revision: 135756b7ade4bfa9407d0f99cee572fb690033e6
  https://github.com/ranguba/rroonga/commit/135756b7ade4bfa9407d0f99cee572fb690033e6

  Message:
    Create block by related variables

  Modified files:
    ext/groonga/rb-grn-config.c

  Modified: ext/groonga/rb-grn-config.c (+2 -1)
===================================================================
--- ext/groonga/rb-grn-config.c    2016-03-05 22:57:33 +0900 (6851fd3)
+++ ext/groonga/rb-grn-config.c    2016-03-05 22:58:29 +0900 (e150f70)
@@ -202,9 +202,10 @@ rb_grn_config_each (VALUE self)
     while (grn_config_cursor_next(context, cursor)) {
         const char *key;
         uint32_t key_size;
+        VALUE rb_key;
         const char *value;
         uint32_t value_size;
-        VALUE rb_key, rb_value;
+        VALUE rb_value;
 
         key_size = grn_config_cursor_get_key(context, cursor, &key);
         rb_key = rb_grn_context_rb_string_new(context, key, key_size);
-------------- next part --------------
HTML����������������������������...
Télécharger 



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