2 Copyright © 2002-2007, The AROS Development Team. All rights reserved.
6 #include <proto/muimaster.h>
7 #include <proto/intuition.h>
9 #include "muimaster_intern.h"
11 /*****************************************************************************
14 AROS_LH1(VOID
, MUI_DisposeObject
,
17 AROS_LHA(Object
*, obj
, A0
),
20 struct Library
*, MUIMasterBase
, 6, MUIMaster
)
23 Deletes MUI object and its child objects.
26 obj - pointer to MUI object created with MUI_NewObject. May be NULL,
27 in which case this function has no effect.
40 MUI will call DisposeObject(), then call CloseLibrary() on
41 OCLASS(obj)->h_Data if cl_ID!=NULL && h_Data!=NULL.
43 *****************************************************************************/
50 Class
*cl
= OCLASS(obj
);
58 } /* MUIA_DisposeObject */