Gjsify LogoGjsify Logo

Hierarchy

  • Ring

Index

Constructors

Properties

data: number
len: number
pos: number
name: string

Methods

  • append_vals(data: object, len: number): number
  • Appends len values located at data.

    Parameters

    • data: object

      A pointer to the array of values.

    • len: number

      The number of values.

    Returns number

  • Calls func for every item in the #DzlRing starting from the most recently inserted element to the least recently inserted.

    Parameters

    • func: GLib.Func

      A #GFunc to call for each element.

    Returns void

  • unref(): void
  • Atomically decrements the reference count of ring by one. When the reference count reaches zero, the structure is freed.

    Returns void

  • Creates a new instance of #DzlRing with the given number of elements.

    Parameters

    • element_size: number

      The size per element.

    • reserved_size: number

      The number of elements to allocate.

    • element_destroy: GLib.DestroyNotify

      Notification called when removing an element.

    Returns Ring

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