/* Retrieves the current line number and the number of the character on that line. 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."  */
void g_markup_parse_context_get_position(GMarkupParseContext *context, gint *line_number, gint *char_number)
/* Retrieves the current line number and the number of the character on that line. 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."  */
void g_markup_parse_context_get_position(GMarkupParseContext *context, gint *line_number, gint *char_number)
{
  g_return_if_fail (context != NULL);
  if (line_number)
    *line_number = context->line_number;
  if (char_number)
    *char_number = context->char_number;
}