add casts to zune macros to silence some warnings
[tangerine.git] / workbench / libs / codesetslib / include / pragmas / codesets_pragmas.h
blob43d65bac0ed98defe1431c5bfa6bc198aa2bb835
1 #ifndef PRAGMAS_CODESETS_PRAGMAS_H
2 #define PRAGMAS_CODESETS_PRAGMAS_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 CLIB_CODESETS_PROTOS_H
27 #include <clib/codesets_protos.h>
28 #endif
30 #if defined(AZTEC_C) || defined(__MAXON__) || defined(__STORM__)
31 #pragma amicall(CodesetsBase,0x024,CodesetsConvertUTF32toUTF16(a0,a1,a2,a3,d0))
32 #pragma amicall(CodesetsBase,0x02a,CodesetsConvertUTF16toUTF32(a0,a1,a2,a3,d0))
33 #pragma amicall(CodesetsBase,0x030,CodesetsConvertUTF16toUTF8(a0,a1,a2,a3,d0))
34 #pragma amicall(CodesetsBase,0x036,CodesetsIsLegalUTF8(a0,d0))
35 #pragma amicall(CodesetsBase,0x03c,CodesetsIsLegalUTF8Sequence(a0,a1))
36 #pragma amicall(CodesetsBase,0x042,CodesetsConvertUTF8toUTF16(a0,a1,a2,a3,d0))
37 #pragma amicall(CodesetsBase,0x048,CodesetsConvertUTF32toUTF8(a0,a1,a2,a3,d0))
38 #pragma amicall(CodesetsBase,0x04e,CodesetsConvertUTF8toUTF32(a0,a1,a2,a3,d0))
39 #pragma amicall(CodesetsBase,0x054,CodesetsSetDefaultA(a0,a1))
40 #pragma amicall(CodesetsBase,0x05a,CodesetsFreeA(a0,a1))
41 #pragma amicall(CodesetsBase,0x060,CodesetsSupportedA(a0))
42 #pragma amicall(CodesetsBase,0x066,CodesetsFindA(a0,a1))
43 #pragma amicall(CodesetsBase,0x06c,CodesetsFindBestA(a0))
44 #pragma amicall(CodesetsBase,0x072,CodesetsUTF8Len(a0))
45 #pragma amicall(CodesetsBase,0x078,CodesetsUTF8ToStrA(a0))
46 #pragma amicall(CodesetsBase,0x07e,CodesetsUTF8CreateA(a0))
47 #pragma amicall(CodesetsBase,0x084,CodesetsEncodeB64A(a0))
48 #pragma amicall(CodesetsBase,0x08a,CodesetsDecodeB64A(a0))
49 #pragma amicall(CodesetsBase,0x090,CodesetsStrLenA(a0,a1))
50 #pragma amicall(CodesetsBase,0x096,CodesetsIsValidUTF8(a0))
51 #pragma amicall(CodesetsBase,0x09c,CodesetsFreeVecPooledA(a0,a1,a2))
52 #pragma amicall(CodesetsBase,0x0a2,CodesetsConvertStrA(a0))
53 #pragma amicall(CodesetsBase,0x0a8,CodesetsListCreateA(a0))
54 #pragma amicall(CodesetsBase,0x0ae,CodesetsListDeleteA(a0))
55 #pragma amicall(CodesetsBase,0x0b4,CodesetsListAddA(a0,a1))
56 #pragma amicall(CodesetsBase,0x0ba,CodesetsListRemoveA(a0))
57 #endif
58 #if defined(_DCC) || defined(__SASC)
59 #pragma libcall CodesetsBase CodesetsConvertUTF32toUTF16 024 0ba9805
60 #pragma libcall CodesetsBase CodesetsConvertUTF16toUTF32 02a 0ba9805
61 #pragma libcall CodesetsBase CodesetsConvertUTF16toUTF8 030 0ba9805
62 #pragma libcall CodesetsBase CodesetsIsLegalUTF8 036 0802
63 #pragma libcall CodesetsBase CodesetsIsLegalUTF8Sequence 03c 9802
64 #pragma libcall CodesetsBase CodesetsConvertUTF8toUTF16 042 0ba9805
65 #pragma libcall CodesetsBase CodesetsConvertUTF32toUTF8 048 0ba9805
66 #pragma libcall CodesetsBase CodesetsConvertUTF8toUTF32 04e 0ba9805
67 #pragma libcall CodesetsBase CodesetsSetDefaultA 054 9802
68 #pragma libcall CodesetsBase CodesetsFreeA 05a 9802
69 #pragma libcall CodesetsBase CodesetsSupportedA 060 801
70 #pragma libcall CodesetsBase CodesetsFindA 066 9802
71 #pragma libcall CodesetsBase CodesetsFindBestA 06c 801
72 #pragma libcall CodesetsBase CodesetsUTF8Len 072 801
73 #pragma libcall CodesetsBase CodesetsUTF8ToStrA 078 801
74 #pragma libcall CodesetsBase CodesetsUTF8CreateA 07e 801
75 #pragma libcall CodesetsBase CodesetsEncodeB64A 084 801
76 #pragma libcall CodesetsBase CodesetsDecodeB64A 08a 801
77 #pragma libcall CodesetsBase CodesetsStrLenA 090 9802
78 #pragma libcall CodesetsBase CodesetsIsValidUTF8 096 801
79 #pragma libcall CodesetsBase CodesetsFreeVecPooledA 09c a9803
80 #pragma libcall CodesetsBase CodesetsConvertStrA 0a2 801
81 #pragma libcall CodesetsBase CodesetsListCreateA 0a8 801
82 #pragma libcall CodesetsBase CodesetsListDeleteA 0ae 801
83 #pragma libcall CodesetsBase CodesetsListAddA 0b4 9802
84 #pragma libcall CodesetsBase CodesetsListRemoveA 0ba 801
85 #endif
86 #ifdef __STORM__
87 #pragma tagcall(CodesetsBase,0x054,CodesetsSetDefault(a0,a1))
88 #pragma tagcall(CodesetsBase,0x05a,CodesetsFree(a0,a1))
89 #pragma tagcall(CodesetsBase,0x060,CodesetsSupported(a0))
90 #pragma tagcall(CodesetsBase,0x066,CodesetsFind(a0,a1))
91 #pragma tagcall(CodesetsBase,0x06c,CodesetsFindBest(a0))
92 #pragma tagcall(CodesetsBase,0x078,CodesetsUTF8ToStr(a0))
93 #pragma tagcall(CodesetsBase,0x07e,CodesetsUTF8Create(a0))
94 #pragma tagcall(CodesetsBase,0x084,CodesetsEncodeB64(a0))
95 #pragma tagcall(CodesetsBase,0x08a,CodesetsDecodeB64(a0))
96 #pragma tagcall(CodesetsBase,0x090,CodesetsStrLen(a0,a1))
97 #pragma tagcall(CodesetsBase,0x09c,CodesetsFreeVecPooled(a0,a1,a2))
98 #pragma tagcall(CodesetsBase,0x0a2,CodesetsConvertStr(a0))
99 #pragma tagcall(CodesetsBase,0x0a8,CodesetsListCreate(a0))
100 #pragma tagcall(CodesetsBase,0x0ae,CodesetsListDelete(a0))
101 #pragma tagcall(CodesetsBase,0x0b4,CodesetsListAdd(a0,a1))
102 #pragma tagcall(CodesetsBase,0x0ba,CodesetsListRemove(a0))
103 #endif
104 #ifdef __SASC_60
105 #pragma tagcall CodesetsBase CodesetsSetDefault 054 9802
106 #pragma tagcall CodesetsBase CodesetsFree 05a 9802
107 #pragma tagcall CodesetsBase CodesetsSupported 060 801
108 #pragma tagcall CodesetsBase CodesetsFind 066 9802
109 #pragma tagcall CodesetsBase CodesetsFindBest 06c 801
110 #pragma tagcall CodesetsBase CodesetsUTF8ToStr 078 801
111 #pragma tagcall CodesetsBase CodesetsUTF8Create 07e 801
112 #pragma tagcall CodesetsBase CodesetsEncodeB64 084 801
113 #pragma tagcall CodesetsBase CodesetsDecodeB64 08a 801
114 #pragma tagcall CodesetsBase CodesetsStrLen 090 9802
115 #pragma tagcall CodesetsBase CodesetsFreeVecPooled 09c a9803
116 #pragma tagcall CodesetsBase CodesetsConvertStr 0a2 801
117 #pragma tagcall CodesetsBase CodesetsListCreate 0a8 801
118 #pragma tagcall CodesetsBase CodesetsListDelete 0ae 801
119 #pragma tagcall CodesetsBase CodesetsListAdd 0b4 9802
120 #pragma tagcall CodesetsBase CodesetsListRemove 0ba 801
121 #endif
123 #endif /* PRAGMAS_CODESETS_PRAGMAS_H */