|
Previous: utility.library/CheckDate |
TOC: Table of Contents |
Index: All Documents |
Next: utility.library/Date2Amiga |
| Title: |
| CloneTagItems -- copy a tag list. (V36) |
| Synopsis: |
| clone = CloneTagItems(original); D0 A0 struct TagItem *CloneTagItems(struct TagItem *); |
| Function: |
| 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. |
| Parameters: |
| original - tag list to clone. May be NULL, in which case an empty tag list is returned. |
| Results: |
| clone - copy of the original tag list, or NULL if there was not enough memory. This tag list must eventually by freed by calling FreeTagItems(). |
| Related topics: |
| <utility/tagitem.h>, AllocateTagItems(), FreeTagItems(), RefreshTagItemClones() |