Docs » Autodocs » graphics.library » GfxAssociate
GfxAssociate -- associate a graphics extended node with a given pointer (V36)
GfxAssociate(pointer, node); A0 A1 void GfxAssociate(VOID *, struct ExtendedNode *);
Associate a special graphics extended data structure (each of which begins with an ExtendedNode structure) with another structure via the other structure's pointer. Later, when you call GfxLookUp() with the other structure's pointer you may retrieve a pointer to this special graphics extended data structure, if it is available.
pointer = a pointer to a data structure. node = an ExtendedNode structure to associate with the pointer
an association is created between the pointer and the node such that given the pointer the node can be retrieved via GfxLookUp().
<graphics/gfxnodes.h>, GfxNew(), GfxFree(), GfxLookUp()
|