Kouhei Sutou
null+****@clear*****
Thu Dec 25 23:12:43 JST 2014
Kouhei Sutou 2014-12-25 23:12:43 +0900 (Thu, 25 Dec 2014) New Revision: c4054cde69db76265765a9c41995cedee9e05e7d https://github.com/groonga/groonga/commit/c4054cde69db76265765a9c41995cedee9e05e7d Message: mrb: Add Groonga::ID::NIL and Groonga::ID::MAX Modified files: lib/mrb/mrb_id.c Modified: lib/mrb/mrb_id.c (+5 -0) =================================================================== --- lib/mrb/mrb_id.c 2014-12-25 22:08:05 +0900 (507bb0e) +++ lib/mrb/mrb_id.c 2014-12-25 23:12:43 +0900 (f559607) @@ -32,6 +32,11 @@ grn_mrb_id_init(grn_ctx *ctx) id_module = mrb_define_module_under(mrb, module, "ID"); + mrb_define_const(mrb, id_module, "NIL", + mrb_fixnum_value(GRN_ID_NIL)); + mrb_define_const(mrb, id_module, "MAX", + mrb_fixnum_value(GRN_ID_MAX)); + mrb_define_const(mrb, id_module, "VOID", mrb_fixnum_value(GRN_DB_VOID)); mrb_define_const(mrb, id_module, "DB", -------------- next part -------------- HTML����������������������������... Download