/* * call-seq: * line * * Get the line number of the error */ static VALUE line(VALUE self) { xmlErrorPtr error; Data_Get_Struct(self, xmlError, error); return INT2NUM(error->line); }