add casts to zune macros to silence some warnings
[tangerine.git] / workbench / libs / codesetslib / include / inline4 / codesets.h
blobd9bb17c4d839cd3e812d9452efccbc26c8621bb8
1 #ifndef INLINE4_CODESETS_H
2 #define INLINE4_CODESETS_H
4 /*
5 ** This file was auto generated by idltool 51.8.
6 **
7 ** It provides compatibility to OS3 style library
8 ** calls by substituting functions.
9 **
10 ** Do not edit manually.
11 */
13 #ifndef EXEC_TYPES_H
14 #include <exec/types.h>
15 #endif
16 #ifndef EXEC_EXEC_H
17 #include <exec/exec.h>
18 #endif
19 #ifndef EXEC_INTERFACES_H
20 #include <exec/interfaces.h>
21 #endif
23 #ifndef LIBRARIES_CODESETS_H
24 #include <libraries/codesets.h>
25 #endif
27 /* Inline macros for Interface "main" */
28 #define CodesetsConvertUTF32toUTF16(sourceStart, sourceEnd, targetStart, targetEnd, flags) ICodesets->CodesetsConvertUTF32toUTF16(sourceStart, sourceEnd, targetStart, targetEnd, flags)
29 #define CodesetsConvertUTF16toUTF32(sourceStart, sourceEnd, targetStart, targetEnd, flags) ICodesets->CodesetsConvertUTF16toUTF32(sourceStart, sourceEnd, targetStart, targetEnd, flags)
30 #define CodesetsConvertUTF16toUTF8(sourceStart, sourceEnd, targetStart, targetEnd, flags) ICodesets->CodesetsConvertUTF16toUTF8(sourceStart, sourceEnd, targetStart, targetEnd, flags)
31 #define CodesetsIsLegalUTF8(source, length) ICodesets->CodesetsIsLegalUTF8(source, length)
32 #define CodesetsIsLegalUTF8Sequence(source, sourceEnd) ICodesets->CodesetsIsLegalUTF8Sequence(source, sourceEnd)
33 #define CodesetsConvertUTF8toUTF16(sourceStart, sourceEnd, targetStart, targetEnd, flags) ICodesets->CodesetsConvertUTF8toUTF16(sourceStart, sourceEnd, targetStart, targetEnd, flags)
34 #define CodesetsConvertUTF32toUTF8(sourceStart, sourceEnd, targetStart, targetEnd, flags) ICodesets->CodesetsConvertUTF32toUTF8(sourceStart, sourceEnd, targetStart, targetEnd, flags)
35 #define CodesetsConvertUTF8toUTF32(sourceStart, sourceEnd, targetStart, targetEnd, flags) ICodesets->CodesetsConvertUTF8toUTF32(sourceStart, sourceEnd, targetStart, targetEnd, flags)
36 #define CodesetsSetDefaultA(name, attrs) ICodesets->CodesetsSetDefaultA(name, attrs)
37 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
38 #define CodesetsSetDefault(...) ICodesets->CodesetsSetDefault(__VA_ARGS__)
39 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
40 #define CodesetsSetDefault(vargs...) ICodesets->CodesetsSetDefault(## vargs)
41 #endif
42 #define CodesetsFreeA(obj, attrs) ICodesets->CodesetsFreeA(obj, attrs)
43 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
44 #define CodesetsFree(...) ICodesets->CodesetsFree(__VA_ARGS__)
45 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
46 #define CodesetsFree(vargs...) ICodesets->CodesetsFree(## vargs)
47 #endif
48 #define CodesetsSupportedA(attrs) ICodesets->CodesetsSupportedA(attrs)
49 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
50 #define CodesetsSupported(...) ICodesets->CodesetsSupported(__VA_ARGS__)
51 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
52 #define CodesetsSupported(...) ICodesets->CodesetsSupported(## vargs)
53 #endif
54 #define CodesetsFindA(name, attrs) ICodesets->CodesetsFindA(name, attrs)
55 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
56 #define CodesetsFind(...) ICodesets->CodesetsFind(__VA_ARGS__)
57 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
58 #define CodesetsFind(vargs...) ICodesets->CodesetsFind(## vargs)
59 #endif
60 #define CodesetsFindBestA(attrs) ICodesets->CodesetsFindBestA(attrs)
61 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
62 #define CodesetsFindBest(...) ICodesets->CodesetsFindBest(__VA_ARGS__)
63 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
64 #define CodesetsFindBest(...) ICodesets->CodesetsFindBest(## vargs)
65 #endif
66 #define CodesetsUTF8Len(str) ICodesets->CodesetsUTF8Len(str)
67 #define CodesetsUTF8ToStrA(attrs) ICodesets->CodesetsUTF8ToStrA(attrs)
68 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
69 #define CodesetsUTF8ToStr(...) ICodesets->CodesetsUTF8ToStr(__VA_ARGS__)
70 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
71 #define CodesetsUTF8ToStr(...) ICodesets->CodesetsUTF8ToStr(## vargs)
72 #endif
73 #define CodesetsUTF8CreateA(attrs) ICodesets->CodesetsUTF8CreateA(attrs)
74 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
75 #define CodesetsUTF8Create(...) ICodesets->CodesetsUTF8Create(__VA_ARGS__)
76 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
77 #define CodesetsUTF8Create(...) ICodesets->CodesetsUTF8Create(## vargs)
78 #endif
79 #define CodesetsEncodeB64A(attrs) ICodesets->CodesetsEncodeB64A(attrs)
80 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
81 #define CodesetsEncodeB64(...) ICodesets->CodesetsEncodeB64(__VA_ARGS__)
82 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
83 #define CodesetsEncodeB64(...) ICodesets->CodesetsEncodeB64(## vargs)
84 #endif
85 #define CodesetsDecodeB64A(attrs) ICodesets->CodesetsDecodeB64A(attrs)
86 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
87 #define CodesetsDecodeB64(...) ICodesets->CodesetsDecodeB64(__VA_ARGS__)
88 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
89 #define CodesetsDecodeB64(...) ICodesets->CodesetsDecodeB64(## vargs)
90 #endif
91 #define CodesetsStrLenA(str, attrs) ICodesets->CodesetsStrLenA(str, attrs)
92 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
93 #define CodesetsStrLen(...) ICodesets->CodesetsStrLen(__VA_ARGS__)
94 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
95 #define CodesetsStrLen(vargs...) ICodesets->CodesetsStrLen(## vargs)
96 #endif
97 #define CodesetsIsValidUTF8(str) ICodesets->CodesetsIsValidUTF8(str)
98 #define CodesetsFreeVecPooledA(pool, mem, attrs) ICodesets->CodesetsFreeVecPooledA(pool, mem, attrs)
99 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
100 #define CodesetsFreeVecPooled(pool, ...) ICodesets->CodesetsFreeVecPooled(pool, __VA_ARGS__)
101 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
102 #define CodesetsFreeVecPooled(pool, vargs...) ICodesets->CodesetsFreeVecPooled(pool, ## vargs)
103 #endif
104 #define CodesetsConvertStrA(attrs) ICodesets->CodesetsConvertStrA(attrs)
105 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
106 #define CodesetsConvertStr(...) ICodesets->CodesetsConvertStr(__VA_ARGS__)
107 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
108 #define CodesetsConvertStr(...) ICodesets->CodesetsConvertStr(## vargs)
109 #endif
110 #define CodesetsListCreateA(attrs) ICodesets->CodesetsListCreateA(attrs)
111 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
112 #define CodesetsListCreate(...) ICodesets->CodesetsListCreate(__VA_ARGS__)
113 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
114 #define CodesetsListCreate(...) ICodesets->CodesetsListCreate(## vargs)
115 #endif
116 #define CodesetsListDeleteA(attrs) ICodesets->CodesetsListDeleteA(attrs)
117 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
118 #define CodesetsListDelete(...) ICodesets->CodesetsListDelete(__VA_ARGS__)
119 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
120 #define CodesetsListDelete(...) ICodesets->CodesetsListDelete(## vargs)
121 #endif
122 #define CodesetsListAddA(codesetsList, attrs) ICodesets->CodesetsListAddA(codesetsList, attrs)
123 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
124 #define CodesetsListAdd(...) ICodesets->CodesetsListAdd(__VA_ARGS__)
125 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
126 #define CodesetsListAdd(vargs...) ICodesets->CodesetsListAdd(## vargs)
127 #endif
128 #define CodesetsListRemoveA(attrs) ICodesets->CodesetsListRemoveA(attrs)
129 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
130 #define CodesetsListRemove(...) ICodesets->CodesetsListRemove(__VA_ARGS__)
131 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
132 #define CodesetsListRemove(...) ICodesets->CodesetsListRemove(## vargs)
133 #endif
135 #endif /* INLINE4_CODESETS_H */