Zen API | Contents | Reference | Previous | Up | Next

zMalloc
Functions
C

    zStatus zMalloc(void* mem, zUIntPtr size);

Parameters

Parameters | Description
void* mem | Receives a pointer to the memory block.
zUIntPtr size | Size of memory to allocate, in bytes.

Description

Allocates a block of memory from the heap used by the zApi library.

Remarks

Memory allocated with this function should be freed with the zFree function.

File

zApi.h

Copyright (c) 2008-2010 by LMI Technologies Inc. All rights reserved.
Contents | Reference