Kouhei Sutou
null+****@clear*****
Mon May 16 16:50:51 JST 2016
Kouhei Sutou 2016-05-16 16:50:51 +0900 (Mon, 16 May 2016) New Revision: 39d95b79ed09de987adea92faecf4b5ed869f636 https://github.com/ranguba/rroonga/commit/39d95b79ed09de987adea92faecf4b5ed869f636 Message: Use grn_type_id_ Modified files: ext/groonga/rb-grn-type.c Modified: ext/groonga/rb-grn-type.c (+3 -1) =================================================================== --- ext/groonga/rb-grn-type.c 2016-05-16 16:49:57 +0900 (05ecccc) +++ ext/groonga/rb-grn-type.c 2016-05-16 16:50:51 +0900 (3566b03) @@ -222,9 +222,11 @@ rb_grn_type_text_family_p (VALUE self) { grn_ctx *context = NULL; grn_obj *type; + grn_id id; type = RVAL2GRNOBJECT(self, &context); - return CBOOL2RVAL(grn_obj_is_text_family_type(context, type)); + id = grn_obj_id(context, type); + return CBOOL2RVAL(grn_type_id_is_text_family(context, id)); } static VALUE -------------- next part -------------- HTML����������������������������...Download