[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


NAME
    LocalItemData -- Get pointer to user data for local context item.

SYNOPSIS
    data = LocalItemData (lci)
     d0                   a0

    UBYTE                   *data;
    struct localcontextitem   *lci;

FUNCTION
    Returns pointer to the user data associated with the given local
    context item.  The size of the data area depends on the "usize"
    argument used when allocating this item.  If the pointer to the item
    given (lci) is NULL, the function also returns NULL.

INPUTS
    lci     - pointer to local context item or NULL.

RESULT
    data    - pointer to user data area or NULL if lci is NULL.

EXAMPLE

NOTES

BUGS
    Currently, there is no way to determine the size of the user data
    area; you have to 'know'.

SEE ALSO
    alloclocalitem(), freelocalitem()