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

AllocateTagItems

Allocate a tag list.

Declaration

Source position: utility.pas line 247

function AllocateTagItems(

  NumTags: LongWord

):PTagItem;

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