2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: Support function for icclass and gadgetclass
9 #include <exec/types.h>
10 #include <proto/exec.h>
11 #include <proto/utility.h>
15 /*****i***********************************************************************
19 AROS_LH1(void, FreeICData
,
22 AROS_LHA(struct ICData
*, icdata
, A0
),
25 struct Library
*, BOOPSIBase
, 15, BOOPSI
)
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.
34 icdata - The address of a struct ICData
37 The data associated will have been freed (including the TagList).
51 ******************************************************************************/
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
;