Bitset.getSizeInRange

Gets the number of values that are part of the set from first to last (inclusive).

Note that this function returns a vte.types.TEST_FLAGS_NONE, because when all values are set, the return value is G_MAXUINT + 1. Unless you are sure this cannot happen (it can't with gio.list_model.ListModel), be sure to use a 64bit type.

class Bitset
ulong
getSizeInRange
(
uint first
,
uint last
)

Parameters

first uint

the first element to include

last uint

the last element to include

Return Value

Type: ulong

The number of values in the set from first to last.