(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/utility.h>

void ReleaseNamedObject (object)

LOCATION
In UtilityBase at offset 43

SYNOPSIS
struct NamedObject * object

FUNCTION
Releases a NamedObject that you previously obtained by calling FindNamedObject.

INPUTS
object
The NamedObject to release.

RESULT
The NamedObject will be released from your possession, and if it is ready to be deallocated, then the NamedObject will be freed.

EXAMPLE
struct NamedObject *nObj, *myNameSpace;

if( nObj = FindNamedObject( myNameSpace, "Some Name", NULL ) )
{
    \*
	Here you do whatever you want. However The NamedObject
	structure should generally be treated READ-ONLY
    *\

    ReleaseNamedObject( nObj );
}
SEE ALSO
utility/name.h, utility/ FindNamedObject()

NOTES
WARNING: You really should actually have found the NamedObject first (that is with FindNamedObject()) before calling this function. Failure to take heed of this will cause memory use problems.

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
20.08.1997 digulla
Polish.

Renamed utility_intern.h to intern.h.

27.01.1997 digulla
Added #include <proto/exec.h>
27.01.1997 ldp
Polish
18.12.1996 iaint
NamedObjects