2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
9 /*****************************************************************************
14 #include <proto/commodities.h>
16 AROS_LH1(VOID
, DeleteCxObj
,
20 AROS_LHA(CxObj
*, co
, A0
),
24 struct Library
*, CxBase
, 8, Commodities
)
28 Delete the commodity object 'co'. By deleting, it's meant that the
29 memory used for the object is freed and if the object was in the
30 commodity hierarchy, it's removed.
34 co -- the object to be deleted (may be NULL)
40 After deleting the commodity object, the handle 'co' is no longer valid.
41 Deleteing an object that has other objects attached to it is (that
42 should be deleted too) is easiest accomplished by using the
43 DeleteCxObjAll() function.
57 ******************************************************************************/
68 FreeCxStructure(co
, CX_OBJECT
, CxBase
);