Prefs/ScreenMode: change the way depth is selected
[AROS.git] / workbench / libs / iffparse / localitemdata.c
blob2d3874cfc821f2fcc0c66e0ef5e4c45525b8f369
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include "iffparse_intern.h"
8 /*****************************************************************************
10 NAME */
11 #include <proto/iffparse.h>
13 AROS_LH1(APTR, LocalItemData,
15 /* SYNOPSIS */
16 AROS_LHA(struct LocalContextItem *, localItem, A0),
18 /* LOCATION */
19 struct Library *, IFFParseBase, 32, IFFParse)
21 /* FUNCTION
22 Returns a pointer to the userdata allocated in AllocLocalItem.
23 This function returns NULL for an input of NULL.
25 INPUTS
26 localItem - pointer to a LocalContextItem struct or NULL.
28 RESULT
29 data - pointer to user data or NULL.
31 NOTES
33 EXAMPLE
35 BUGS
37 SEE ALSO
38 AllocLocalItem(), FreeLocalItem()
40 INTERNALS
42 *****************************************************************************/
44 AROS_LIBFUNC_INIT
46 (void) IFFParseBase;
48 return
50 localItem !=NULL ?
51 GetIntLCI(localItem)->lci_UserData :
52 NULL
55 AROS_LIBFUNC_EXIT
56 } /* LocalItemData */