Unit 'utility' Package
[Overview][Constants][Types][Procedures and functions][Index] [#aros]

AllocateTagItems

Allocate a tag list.

Declaration

Source position: utility.pas line 218

function AllocateTagItems(

  Num: LongWord

):PTagItem;

Arguments

Num

  

The number of TagItem slots you want to allocate.

Function result

the allocated chain of TagItem structures, or nil if there was not enough memory. An allocated tag list must eventually be freed using FreeTagItems().

Description

Allocates the specified number of usable TagItems slots.

Note that to access the TagItems in 'tagList', you should use the function NextTagItem(). This will insure you respect any chaining (TAG_MORE) and secret hiding places (TAG_IGNORE) that this function might generate.

See also

FreeTagItems

  

Free an allocated tag list.

CloneTagItems

  

Copy a tag list.


Documentation generated on: 2021-07-30