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

CloneTagItems

Copy a tag list.

Declaration

Source position: utility.pas line 249

function CloneTagItems(

  const Original: PTagItem

):PTagItem;

Function result

Copy of the original tag list, or nil if there was not enough memory. This tag list must eventually by freed by calling FreeTagItems().

Description

Copies the essential contents of a tag list into a new tag list.

The cloning is such that calling FindTagItem() with a given tag on the original or cloned tag lists will always return the same tag value. That is, the ordering of the tags is maintained.

See also

AllocateTagItems

  

Allocate a tag list.

FreeTagItems

  

Free an allocated tag list.

RefreshTagItemClones

  

Rejuvenate a clone from the original.


Documentation generated on: 2021-07-30