Ring.sized_new
Description:
[ CCode ( cname = "dzl_ring_sized_new" , has_construct_function = false ) ]
public Ring.sized_new (uint element_size, uint reserved_size, DestroyNotify element_destroy)
Creates a new instance of Ring with the given number of elements.
Parameters:
element_size |
The size per element.
|
reserved_size |
The number of elements to allocate.
|
element_destroy |
Notification called when removing an element.
|
Returns: