Constructor
IdeLocationnew_with_offset
Declaration
IdeLocation*
ide_location_new_with_offset (
GFile* file,
gint line,
gint line_offset,
gint offset
)
Parameters
file-
Type:
GFileA
GFile.The data is owned by the caller of the function. line-
Type:
gintA line number starting from 0, or -1 if unknown.
line_offset-
Type:
gintA line offset starting from 0, or -1 if unknown.
offset-
Type:
gintA 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. |