Method

IdeDiagnosticsget_diagnostic_at_line

Declaration

IdeDiagnostic*
ide_diagnostics_get_diagnostic_at_line (
  IdeDiagnostics* self,
  GFile* file,
  guint line
)

Description

Locates an IdeDiagnostic in file at line.

Parameters

file

Type: GFile

The target file.

The data is owned by the caller of the method.
line

Type: guint

A line number.

Return value

Type: IdeDiagnostic

An IdeDiagnostic or NULL.

The data is owned by the instance.
The return value can be NULL.