New bitmap method SetRGBConversionFunction which can be used to
[tangerine.git] / rom / oop / releaseattrbase.c
blob885a8944e1f689bff1e09b01357b75c8a4426447
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: OOP function OOP_ReleaseAttrBase
6 Lang: english
7 */
9 #include "intern.h"
10 #include "hash.h"
11 /*****************************************************************************
13 NAME */
14 #include <proto/exec.h>
15 #include <exec/memory.h>
16 #include <aros/libcall.h>
18 #include <aros/debug.h>
20 AROS_LH1(VOID, OOP_ReleaseAttrBase,
22 /* SYNOPSIS */
23 AROS_LHA(STRPTR , interfaceID, A0),
25 /* LOCATION */
26 struct Library *, OOPBase, 9, OOP)
28 /* FUNCTION
29 Release an OOP_AttrBase previosly obtained with
30 OOP_ObtainAttrBase()
33 INPUTS
34 interfaceID - globally unique interface identifier.
35 for which to release an attrbase.
37 RESULT
38 None.
40 NOTES
41 The call must be paired wit OOP_ObtainAttrBase().
43 EXAMPLE
45 BUGS
47 SEE ALSO
49 INTERNALS
51 HISTORY
53 ******************************************************************************/
55 AROS_LIBFUNC_INIT
56 AROS_LIBBASE_EXT_DECL(struct Library*,OOPBase)
59 EnterFunc(bug("OOP_ReleaseAttrBase(interfaceID=%s)\n", interfaceID));
61 release_idbucket(interfaceID, GetOBase(OOPBase));
63 ReturnVoid ("OOP_ReleaseAttrBase");
65 AROS_LIBFUNC_EXIT
67 } /* OOP_ReleaseAttrBase */