(C) 1998 AROS - The Amiga Research OS


NAME
#include <utility/tagitem.h>
#include <proto/utility.h>

void FreeTagItems (tagList)

LOCATION
In UtilityBase at offset 13

SYNOPSIS
struct TagItem * tagList

FUNCTION
Free a list of TagItems which was allocated by AllocateTagItems().

INPUTS
tagList
A list of TagItems - must have been allocated by AllocateTagItems() or CloneTagItems().

RESULT
The memory containing the tagList is returned to the system.

EXAMPLE
struct TagItem *tagList;

tagList =  AllocateTagItems( 4 );

tagList[0].ti_Tag  = NA_Name;
tagList[0].ti_Data = (IPTR)"A list of tags";
tagList[3].ti_Tag  = TAG_DONE;

\* Do what you want with your TagList here ... *\

FreeTagItems( tagList );
SEE ALSO
utility/tagitem.h, utility/ AllocateTagItems()

NOTES
The memory will only be freed if the input is non-NULL.

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
20.08.1997 digulla
Polish.

Renamed utility_intern.h to intern.h.

27.01.1997 digulla
Added #include <proto/exec.h>
27.01.1997 ldp
Polish
10.12.1996 aros
Moved #include into first column to allow makedepend to see it.
24.10.1996 aros
Use the official AROS macros over the __AROS versions.
13.09.1996 digulla
Use IPTR
12.09.1996 digulla
Better way to separate public and private parts of the library base
31.08.1996 aros
Merged in/modified for FreeBSD.