Gjsify LogoGjsify Logo

An opaque structure representing iteration in undefined order over a set of integers. Must be initialized with tp_intset_fast_iter_init().

Before 0.11.16, this type was called TpIntSetFastIter, which is now a backwards compatibility typedef.

Usage is similar to #GHashTableIter:

TpIntsetFastIter iter; guint element;

tp_intset_fast_iter_init (&iter, intset);

while (tp_intset_fast_iter_next (&iter, &element)) { printf ("%u is in the intset\n", element); }

record

Hierarchy

  • IntsetFastIter

Index

Constructors

Properties

Methods

Constructors

Properties

name: string

Methods

  • Initialize iter to iterate over set in arbitrary order. iter will become invalid if set is modified.

    Parameters

    Returns void

  • next(output: number): boolean
  • Advances iter and retrieves the integer it now points to. Iteration is not necessarily in numerical order.

    Parameters

    • output: number

      a location to store a new integer, in arbitrary order

    Returns boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method