ext/groonga/rb-grn-exception.c in rroonga-3.0.2 vs ext/groonga/rb-grn-exception.c in rroonga-3.0.3
- old
+ new
@@ -55,11 +55,11 @@
static VALUE eGrnTooManyLinks;
static VALUE eGrnBrokenPipe;
static VALUE eGrnDomainError;
static VALUE eGrnResultTooLarge;
static VALUE eGrnResourceDeadlockAvoided;
-static VALUE eGrnNoMemoryAvailable;
+VALUE rb_eGrnNoMemoryAvailable;
static VALUE eGrnFilenameTooLong;
static VALUE eGrnNoLocksAvailable;
static VALUE eGrnFunctionNotImplemented;
static VALUE eGrnDirectoryNotEmpty;
static VALUE eGrnIllegalByteSequence;
@@ -209,11 +209,11 @@
break;
case GRN_RESOURCE_DEADLOCK_AVOIDED:
exception = eGrnResourceDeadlockAvoided;
break;
case GRN_NO_MEMORY_AVAILABLE:
- exception = eGrnNoMemoryAvailable;
+ exception = rb_eGrnNoMemoryAvailable;
break;
case GRN_FILENAME_TOO_LONG:
exception = eGrnFilenameTooLong;
break;
case GRN_NO_LOCKS_AVAILABLE:
@@ -908,10 +908,10 @@
/*
* Document-class: Groonga::NoMemoryAvailable
*
* メモリが足りないときに発生する。
*/
- eGrnNoMemoryAvailable =
+ rb_eGrnNoMemoryAvailable =
rb_define_class_under(mGrn, "NoMemoryAvailable", rb_eGrnError);
/*
* Document-class: Groonga::FilenameTooLong
*