Logo Search packages:      
Sourcecode: ardour version File versions  Download package

int Glib::Markup::ParseContext::get_line_number (  )  const

Retrieves the current line number. Intended for use in error messages; there are no strict semantics for what constitutes the "current" line number other than "the best number we could come up with for error messages."

Definition at line 297 of file markup.cc.

{
  int line_number = 0;
  g_markup_parse_context_get_position(gobject_, &line_number, 0);
  return line_number;
}


Generated by  Doxygen 1.6.0   Back to index