Navigation Menu

Skip to content

Commit

Permalink
Use "Groonga" form
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 11, 2015
1 parent 337eb69 commit 8354e3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ext/groonga/rb-grn-context.c
Expand Up @@ -49,15 +49,15 @@ rb_grn_context_from_ruby_object (VALUE object)
RbGrnContext *rb_grn_context;

if (!RVAL2CBOOL(rb_obj_is_kind_of(object, cGrnContext))) {
rb_raise(rb_eTypeError, "not a groonga context");
rb_raise(rb_eTypeError, "not a Groonga context");
}

Data_Get_Struct(object, RbGrnContext, rb_grn_context);
if (!rb_grn_context)
rb_raise(rb_eGrnError, "groonga context is NULL");
rb_raise(rb_eGrnError, "Groonga context is NULL");
if (!rb_grn_context->context)
rb_raise(rb_eGrnClosed,
"can't access already closed groonga context");
"can't access already closed Groonga context");
return rb_grn_context->context;
}

Expand Down

0 comments on commit 8354e3b

Please sign in to comment.