Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / libs / commodities / cxmsgtype.c
blob30c171ede35efa144d0f45f88c8c8f6fd9d66358
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 <proto/commodities.h>
16 AROS_LH1I(ULONG, CxMsgType,
18 /* SYNOPSIS */
20 AROS_LHA(CxMsg *, cxm, A0),
22 /* LOCATION */
24 struct Library *, CxBase, 23, Commodities)
26 /* FUNCTION
28 Obtain the type of the commodity message 'cxm'.
30 INPUTS
32 cxm - The message the type of which is to be determined (may NOT be
33 NULL).
35 RESULT
37 The type of 'cxm'. The available types of commodity messages is defined
38 in <libraries/commodities.h>.
40 NOTES
42 EXAMPLE
44 BUGS
46 SEE ALSO
48 INTERNALS
50 HISTORY
52 ******************************************************************************/
55 AROS_LIBFUNC_INIT
57 return cxm->cxm_Type;
59 AROS_LIBFUNC_EXIT
60 } /* CxMsgType */