Method

GLibScannercur_position

Declaration

guint
g_scanner_cur_position (
  GScanner* scanner
)

Description

Returns the current position in the current line (counting from 0). This is the position of the last token parsed via g_scanner_get_next_token().

Return value

Type: guint

The current position on the line.