From: Lyle Johnson Date: 2003-04-17T07:35:39+09:00 Subject: Re: rb_class_new_instance behaves strange nobu.nokada@softhome.net wrote: > Sorry, I missed it. You can make them abstract by undefining > allocator with rb_undef_alloc_func(). OK. > Please replace all STR2CSTR to StringValue, and apply this > patch. Don't you mean replace all STR2CSTR with StringValuePtr? I think StringValue() returns a String object (a VALUE) while StringValuePtr() returns the underlying C character array.