/* * call-seq: * fi.to_s -> string * * Return a string representation of the FieldInfo object. */ static VALUE frt_fi_to_s(VALUE self) { FieldInfo *fi = (FieldInfo *)DATA_PTR(self); char *fi_s = fi_to_s(fi); VALUE rfi_s = rb_str_new2(fi_s); free(fi_s); return rfi_s; }