Removed 'examinelock', because its functionality is a subset of that of
[AROS.git] / rom / oop / releaseattrbase.c
blobe5989d5c85dc257509880f5cb9af51296a103467
1 /*
2 Copyright © 1995-2013, 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(CONST_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 with OOP_ObtainAttrBase().
43 EXAMPLE
45 BUGS
47 SEE ALSO
49 INTERNALS
51 HISTORY
53 ******************************************************************************/
55 AROS_LIBFUNC_INIT
58 EnterFunc(bug("OOP_ReleaseAttrBase(interfaceID=%s)\n", interfaceID));
60 release_idbucket(interfaceID, GetOBase(OOPBase));
62 ReturnVoid ("OOP_ReleaseAttrBase");
64 AROS_LIBFUNC_EXIT
66 } /* OOP_ReleaseAttrBase */