Ring.this

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

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

Parameters

elementSize uint

The size per element.

reservedSize uint

The number of elements to allocate.

elementDestroy GDestroyNotify

Notification called when removing an element.

Return Value

A new #DzlRing.

Throws

ConstructionException GTK+ fails to create the object.

Meta