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. Maybe NULL,
27 in which case this function has no effect.
36 The function itself is a bug ;-) Remove it!
42 MUI will call DisposeObject(), then call CloseLibrary() on
43 OCLASS(obj)->h_Data if cl_ID!=NULL && h_Data!=NULL.
46 2006-04-11 NULL check added.
48 *****************************************************************************/
54 Class
*cl
= OCLASS(obj
);
62 } /* MUIA_DisposeObject */