1
0
mirror of https://github.com/deadw00d/AROS.git synced 2025-12-06 21:40:57 +00:00
Files
AROS-v0/workbench/libs/iffparse/localitemdata.c
Matthias Rustler 6b5a534ce3 workbench: detabbed
2021-05-02 13:55:14 +02:00

56 lines
1.1 KiB
C

/*
Copyright (C) 1995-2007, The AROS Development Team. All rights reserved.
*/
#include "iffparse_intern.h"
/*****************************************************************************
NAME */
#include <proto/iffparse.h>
AROS_LH1(APTR, LocalItemData,
/* SYNOPSIS */
AROS_LHA(struct LocalContextItem *, localItem, A0),
/* LOCATION */
struct Library *, IFFParseBase, 32, IFFParse)
/* FUNCTION
Returns a pointer to the userdata allocated in AllocLocalItem.
This function returns NULL for an input of NULL.
INPUTS
localItem - pointer to a LocalContextItem struct or NULL.
RESULT
data - pointer to user data or NULL.
NOTES
EXAMPLE
BUGS
SEE ALSO
AllocLocalItem(), FreeLocalItem()
INTERNALS
*****************************************************************************/
{
AROS_LIBFUNC_INIT
(void) IFFParseBase;
return
(
localItem !=NULL ?
GetIntLCI(localItem)->lci_UserData :
NULL
);
AROS_LIBFUNC_EXIT
} /* LocalItemData */