(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/iffparse.h>

void SetLocalItemPurge (localItem , purgeHook)

LOCATION
In IFFParseBase at offset 33

SYNOPSIS
struct LocalContextItem * localItem
struct Hook * purgeHook

FUNCTION
Inserts a custom purge hook for the given local context item. The purge hook will be freed when the system wants to delete a local context item.

INPUTS
localItem
pointer to a local context item.
purgeHook
pointer to a hook sructure initialized with the purge function.

RESULT

EXAMPLE

SEE ALSO
AllocLocalItem(), FreeLocalItem()

NOTES
The purgehook must call FreeLocalItem() on the local context item after doing its own resource freeing.

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
03.02.1997 digulla
Iffparse.library as supplied by Nils H. Lorentzen