add casts to zune macros to silence some warnings
[tangerine.git] / workbench / libs / codesetslib / include / proto / codesets.h
blob88ebad73f2a584466cab45f2588c11c8cd30e3aa
1 #ifndef PROTO_CODESETS_H
2 #define PROTO_CODESETS_H
4 /***************************************************************************
6 codesets.library - Amiga shared library for handling different codesets
7 Copyright (C) 2001-2005 by Alfonso [alfie] Ranieri <alforan@tin.it>.
8 Copyright (C) 2005-2007 by codesets.library Open Source Team
10 This library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU Lesser General Public
12 License as published by the Free Software Foundation; either
13 version 2.1 of the License, or (at your option) any later version.
15 This library is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
20 codesets.library project: http://sourceforge.net/projects/codesetslib/
22 $Id$
24 ***************************************************************************/
26 #ifndef LIBRARIES_CODESETS_H
27 #include <libraries/codesets.h>
28 #endif
30 /****************************************************************************/
32 #ifndef __NOLIBBASE__
33 #ifndef __USE_BASETYPE__
34 extern struct Library * CodesetsBase;
35 #else
36 extern struct Library * CodesetsBase;
37 #endif /* __USE_BASETYPE__ */
38 #endif /* __NOLIBBASE__ */
40 /****************************************************************************/
42 #ifdef __amigaos4__
43 #include <interfaces/codesets.h>
44 #ifdef __USE_INLINE__
45 #include <inline4/codesets.h>
46 #endif /* __USE_INLINE__ */
47 #ifndef CLIB_CODESETS_PROTOS_H
48 #define CLIB_CODESETS_PROTOS_H 1
49 #endif /* CLIB_CODESETS_PROTOS_H */
50 #ifndef __NOGLOBALIFACE__
51 extern struct CodesetsIFace *ICodesets;
52 #endif /* __NOGLOBALIFACE__ */
53 #else /* __amigaos4__ */
54 #ifndef CLIB_CODESETS_PROTOS_H
55 #include <clib/codesets_protos.h>
56 #endif /* CLIB_CODESETS_PROTOS_H */
57 #if defined(__GNUC__)
58 #ifndef __PPC__
59 #include <inline/codesets.h>
60 #else
61 #include <ppcinline/codesets.h>
62 #endif /* __PPC__ */
63 #elif defined(__VBCC__)
64 #ifndef __PPC__
65 #include <inline/codesets_protos.h>
66 #endif /* __PPC__ */
67 #else
68 #include <pragmas/codesets_pragmas.h>
69 #endif /* __GNUC__ */
70 #endif /* __amigaos4__ */
72 /****************************************************************************/
74 #endif /* PROTO_CODESETS_H */