2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
8 #include <proto/exec.h>
11 /*****************************************************************************
15 AROS_LH1(void, OOP_RemoveClass
,
18 AROS_LHA(OOP_Class
*, classPtr
, A0
),
21 struct Library
*, OOPBase
, 11, OOP
)
24 Remove a class from the list of public classes.
25 The class must have previously added with AddClass().
28 classPtr - Pointer to class that should be removed.
45 29-10-95 digulla automatically created from
46 intuition_lib.fd and clib/intuition_protos.h
48 *****************************************************************************/
54 ObtainSemaphore( &GetOBase(OOPBase
)->ob_ClassListLock
);
55 Remove ((struct Node
*)classPtr
);
56 ReleaseSemaphore( &GetOBase(OOPBase
)->ob_ClassListLock
);
63 } /* OOP_RemoveClass */