About my projects, examples and tutorials
Gnome::Gtk4::T-bitset

Gnome::Gtk4::T-bitset

Class initialization§

new§

Initialization of a type class is simple and only needed when the standalone functions are used.

method new ( )
Code

Record N-BitsetIter class N-BitsetIter is repr('CPointer') is export;§

Standalone Functions§

bitset-iter-init-at§

Initializes $iter to point to $target.

If $target is not found, finds the next value after it. If no value >= $target exists in $set, this function returns False.

method bitset-iter-init-at ( N-Object $iter, N-Object $set, UInt() $target, Array[Int] $value --> Bool )
Code
  • $iter; a pointer to an uninitialized Gnome::Gtk4::T-bitset
  • $set; a Gnome::Gtk4::N-Bitset
  • $target; target value to start iterating at.
  • $value; (transfer ownership: full) Set to the found value in $set.

Return value; True if a value was found..

bitset-iter-init-first§

Initializes an iterator for $set and points it to the first value in $set.

If $set is empty, False is returned and $value is set to G_MAXUINT.

method bitset-iter-init-first ( N-Object $iter, N-Object $set, Array[Int] $value --> Bool )
Code
  • $iter; a pointer to an uninitialized Gnome::Gtk4::T-bitset
  • $set; a Gnome::Gtk4::N-Bitset
  • $value; (transfer ownership: full) Set to the first value in $set.

Return value; True if $set isn't empty..

bitset-iter-init-last§

Initializes an iterator for $set and points it to the last value in $set.

If $set is empty, False is returned.

method bitset-iter-init-last ( N-Object $iter, N-Object $set, Array[Int] $value --> Bool )
Code
  • $iter; a pointer to an uninitialized Gnome::Gtk4::T-bitset
  • $set; a Gnome::Gtk4::N-Bitset
  • $value; (transfer ownership: full) Set to the last value in $set.

Return value; True if $set isn't empty..