Constructor
IdeLocationnew_with_offset
Declaration
IdeLocation*
ide_location_new_with_offset (
GFile* file,
gint line,
gint line_offset,
gint offset
)
Parameters
file |
GFile* |
A |
|
The data is owned by the caller of the function. | |
line |
gint |
A line number starting from 0, or -1 if unknown. |
|
line_offset |
gint |
A line offset starting from 0, or -1 if unknown. |
|
offset |
gint |
A charcter offset in file starting from 0, or -1 if unknown. |
Return value
Returns: | IdeLocation |
An |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |