Constructor

IdeLocationnew_with_offset

Declaration

IdeLocation*
ide_location_new_with_offset (
  GFile* file,
  gint line,
  gint line_offset,
  gint offset
)

Description

No description available.

Parameters

file

Type: GFile

A GFile.

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

Type: gint

A line number starting from 0, or -1 if unknown.

line_offset

Type: gint

A line offset starting from 0, or -1 if unknown.

offset

Type: gint

A charcter offset in file starting from 0, or -1 if unknown.

Return value

Type: IdeLocation

An IdeLocation.

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