Method

IdeDiagnostictake_range

Declaration

void
ide_diagnostic_take_range (
  IdeDiagnostic* self,
  IdeRange* range
)

Description

Adds a source range to the diagnostic, but does not increment the reference count of range.

Parameters

range

Type: IdeRange

An IdeRange.

The instance takes ownership of the data, and is responsible for freeing it.