Method

IdeDiagnosticsget_diagnostics_at_line

Declaration

GPtrArray*
ide_diagnostics_get_diagnostics_at_line (
  IdeDiagnostics* self,
  GFile* file,
  guint line
)

Description

Locates all 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: An array of IdeDiagnostic*

An GPtrArray or NULL.

The caller of the method takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.