Support rastport clipping rectangle for layerless rastports
[tangerine.git] / rom / boopsi / freeicdata.c
blobeef117544148719f9f51c3c158f9ef8d962bc8cb
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Support function for icclass and gadgetclass
6 Lang: english
7 */
9 #include <exec/types.h>
10 #include <proto/exec.h>
11 #include <proto/utility.h>
13 #include "intern.h"
15 /*****i***********************************************************************
17 NAME */
19 AROS_LH1(void, FreeICData,
21 /* SYNOPSIS */
22 AROS_LHA(struct ICData *, icdata, A0),
24 /* LOCATION */
25 struct Library *, BOOPSIBase, 15, BOOPSI)
27 /* FUNCTION
28 This private function will free the data that belongs to an object
29 of the type ICCLASS. It is primarily in as a private function for
30 the benefit of intuition.library's gadgetclass implementation,
31 which includes an icclass of its own.
33 INPUTS
34 icdata - The address of a struct ICData
36 RESULT
37 The data associated will have been freed (including the TagList).
39 NOTES
41 EXAMPLE
43 BUGS
45 SEE ALSO
47 INTERNALS
49 HISTORY
51 ******************************************************************************/
53 AROS_LIBFUNC_INIT
54 AROS_LIBBASE_EXT_DECL(struct Library *, BOOPSIBase)
56 icdata->ic_LoopCounter = 0UL;
58 if(icdata->ic_CloneTags)
60 FreeTagItems(icdata->ic_CloneTags);
61 icdata->ic_CloneTags = NULL;
64 AROS_LIBFUNC_EXIT
65 } /* FreeICData */