2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
9 /*****************************************************************************
14 #include <libraries/commodities.h>
15 #include <proto/commodities.h>
17 AROS_LH1I(ULONG
, CxObjType
,
21 AROS_LHA(CxObj
*, co
, A0
),
25 struct Library
*, CxBase
, 10, Commodities
)
29 Obtain the type of the commodity object 'co'.
33 co -- the object the type of which to get
37 The type of the object 'co'. See <libraries/commodities.h> for the
38 possible types. If 'co' is NULL, CX_INVALID is returned.
54 ******************************************************************************/
59 return ((co
== NULL
) ? CX_INVALID
: CXOBJType(co
));