[Groonga-commit] groonga/groonga at 1c3194e [master] mrb: support converting database from Groonga to mruby

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Feb 3 12:51:07 JST 2015


Kouhei Sutou	2015-02-03 12:51:07 +0900 (Tue, 03 Feb 2015)

  New Revision: 1c3194e8106b80043af200e633fcec136ff0af54
  https://github.com/groonga/groonga/commit/1c3194e8106b80043af200e633fcec136ff0af54

  Message:
    mrb: support converting database from Groonga to mruby

  Modified files:
    lib/mrb/mrb_converter.c

  Modified: lib/mrb/mrb_converter.c (+3 -0)
===================================================================
--- lib/mrb/mrb_converter.c    2015-02-03 11:43:07 +0900 (3188e47)
+++ lib/mrb/mrb_converter.c    2015-02-03 12:51:07 +0900 (0ad9841)
@@ -70,6 +70,9 @@ grn_mrb_class_from_grn_obj(mrb_state *mrb, grn_obj *object)
   case GRN_TABLE_DAT_KEY :
     klass = mrb_class_get_under(mrb, data->module, "DoubleArrayTrie");
     break;
+  case GRN_DB :
+    klass = mrb_class_get_under(mrb, data->module, "Database");
+    break;
   case GRN_VOID :
     klass = mrb_class_get_under(mrb, data->module, "Void");
     break;
-------------- next part --------------
HTML����������������������������...
Download 



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