Method

RBHistoryget_current_index

Declaration [src]

gint
rb_history_get_current_index (
  RBHistory* hist
)

Description [src]

Gets the index of the current entry. This is guaranteed to be < the history’s size, so if the history is empty, it returns -1.

Return value

Type: gint

Index of the current entry.