/* * call-seq: * str1 * * Extra string information */ static VALUE str1(VALUE self) { xmlErrorPtr error; Data_Get_Struct(self, xmlError, error); if(error->str1) return NOKOGIRI_STR_NEW2(error->str1, "UTF-8"); return Qnil; }