Table of Contents

zbuffer_InitByType

Description

Allocate a static array of variable items in a buffer.

Files

Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool zbuffer_InitByType(ZVAR hBuf, long nItems, long ItemTypeID);

Arguments

Name Type Comment
hBuf ZVAR A ZVAR handle to a variable of the VarID_buffer type.
nItems long The number of items to allocate in the buffer.
ItemTypeID long The variable type ID of the items in the buffer.

Return value

False if an error occurred, and true otherwise.

Comments

None.