Method

FoundryDiagnosticget_line

Declaration [src]

guint
foundry_diagnostic_get_line (
  FoundryDiagnostic* self
)

Description [src]

Gets the line number of the diagnostic.

Use foundry_diagnostic_has_line() to distinguish a diagnostic on the first line from one without a line.

Return value

Type: guint

A zero-based line number, or 0 when the line is unset.