formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Memory

# fz_mem_zone_dynamic_init

Description

This will create a mem zone that will grow as needed. Pointers can be allocated from this zone and the zone will grow by the specified block size if there is not enough memory in the zone to fulfill the request

Plugin Prototype

fzrt_error_td fz_mem_zone_dynamic_init(

fzrt_zone_ptr * | zone_dynamic_ptr,
fzrt_int | zone_block_size )

Parameters

zone_dynamic_ptr [Result]

the newly create zone

zone_block_size [Input]

block size to use for zone

Returns

FZRT_NOERR on success, error ID otherwise.

Availability

5.0.0.0

See Also

, fz_mem_zone_alloc,

Function Set

fz_fzrt_mem_fset

Defined in

fzrt_api.h