Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kStream_Init ( kStream  stream,
kType  type,
kAlloc  allocator 
)
protected

Protected method called by derived classes to initialize the kStream base class.

This method should typically be called as the first statement in derived initializer methods.

Parameters
streamStream instance (not yet initialized).
typeObject type (required).
allocatorMemory allocator (required).
Returns
Operation status.