(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/exec.h>
#include <exec/memory.h>
#include <aros/libcall.h>
#include <aros/debug.h>

AttrBase GetAttrBase (interfaceID)

LOCATION
In OOPBase at offset 15

SYNOPSIS
STRPTR interfaceID

FUNCTION
Maps a globally unique string interface ID into a numeric AttrBase ID that is unique on pr. machine basis. IMPORTANT: You MUST be sure that at least one class implementing specified interface is initialized at the time calling this function. This function is especially useful for a class to get AttrBases of the interfaces it implements.

INPUTS
interfaceID
globally unique interface identifier.

RESULT
Numeric AttrBase that is unique for this machine. There are NO error conditions.

EXAMPLE

SEE ALSO

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
19.09.1998 nlorentz
Added two new functions + fixed bugs
13.09.1998 nlorentz
API Polish
31.08.1998 nlorentz
Rewrite & cleanup of the code.