a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 utility.library
  AddNamedObject
  AllocNamedObjectA
  AllocateTagItems
  Amiga2Date
  ApplyTagChanges
  AttemptRemNamedObject
  CallHookPkt
  CheckDate
  CloneTagItems
  Date2Amiga
  FilterTagChanges
  FilterTagItems
  FindNamedObject
  FindTagItem
  FreeNamedObject
  FreeTagItems
  GetTagData
  GetUniqueID
  MapTags
  NamedObjectName
  NextTagItem
  PackBoolTags
  PackStructureTags
  RefreshTagItemClones
  ReleaseNamedObject
  RemNamedObject
  SDivMod32
  SMult32
  SMult64
  Stricmp
  Strnicmp
  TagInArray
  ToLower
  ToUpper
  UDivMod32
  UMult32
  UMult64
  UnpackStructureTags
Include
GuruMeditation
Docs » Autodocs » utility.library » CloneTagItems

NAME

	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.

INPUTS

	original - tag list to clone. May be NULL, in which case an
empty tag list is returned.

RESULT

	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().

SEE ALSO

<utility/tagitem.h>, AllocateTagItems(), FreeTagItems(), RefreshTagItemClones()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Scoopex

DC
PDX
SCX
TRSI

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se