get_position


Description:

public void get_position (out int line_number, out int char_number)

Retrieves the current line number and the number of the character on that line.

Intended for use in error messages; there are no strict semantics for what constitutes the "current" line number other than "the best number we could come up with for error messages."

Parameters:

this

a `GtkBuildableParseContext`

line_number

return location for a line number

char_number

return location for a char-on-line number




2022 vala-language.org