Ring.this

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

  1. this(DzlRing* dzlRing, bool ownedRef = false)
  2. this(uint elementSize, uint reservedSize, GDestroyNotify elementDestroy)
    class Ring
    this
    (
    ,,
    GDestroyNotify elementDestroy
    )

Parameters

elementSize
Type: uint

The size per element.

reservedSize
Type: uint

The number of elements to allocate.

elementDestroy
Type: GDestroyNotify

Notification called when removing an element.

Return Value

A new #DzlRing.

Throws

ConstructionException GTK+ fails to create the object.

Meta