Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kQueue_Construct ( kQueue queue,
kType  itemType,
kSize  initialCapacity,
kAlloc  allocator 
)

Constructs a kQueue object.

Parameters
queueReceives constructed queue object.
itemTypeType of queue element.
initialCapacityCapacity initially reserved for queue items.
allocatorMemory allocator (or kNULL for default).
Returns
Operation status.