Updated PCI IDs to latest snapshot.
[tangerine.git] / workbench / libs / commodities / cxobjtype.c
blob0a53c3f59b27eae82890acd2a14ce5b3f080d662
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: English
7 */
9 /*****************************************************************************
11 NAME */
13 #include "cxintern.h"
14 #include <libraries/commodities.h>
15 #include <proto/commodities.h>
17 AROS_LH1I(ULONG, CxObjType,
19 /* SYNOPSIS */
21 AROS_LHA(CxObj *, co, A0),
23 /* LOCATION */
25 struct Library *, CxBase, 10, Commodities)
27 /* FUNCTION
29 Obtain the type of the commodity object 'co'.
31 INPUTS
33 co -- the object the type of which to get
35 RESULT
37 The type of the object 'co'. See <libraries/commodities.h> for the
38 possible types. If 'co' is NULL, CX_INVALID is returned.
40 NOTES
42 EXAMPLE
44 BUGS
46 SEE ALSO
48 CreateCxObj()
50 INTERNALS
52 HISTORY
54 ******************************************************************************/
57 AROS_LIBFUNC_INIT
59 return ((co == NULL) ? CX_INVALID : CXOBJType(co));
61 AROS_LIBFUNC_EXIT
62 } /* CxObjType */