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

# fz_mem_zone_static_init

Description

This will create a mem zone with a set amount of memory. Pointers can be allocated from this zone until the zone is full.

Plugin Prototype

fzrt_error_td fz_mem_zone_static_init(

fzrt_zone_ptr * | zone_static_ptr,
fzrt_int | size )

Parameters

zone_static_ptr [Result]

the newly create static mem zone

size [Input]

the size of the memory 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