5 /****************************************************************
7 This file was created automatically by `%fv'
10 using CatComp.sd 1.2 (24.09.1999)
14 ****************************************************************/
20 #include <exec/types.h>
51 #include <proto/locale.h>
52 extern struct Library *LocaleBase;
59 #endif /* %b_NUMBERS */
62 /****************************************************************************/
69 #endif /* %b_STRINGS */
72 /****************************************************************************/
83 static const struct %b_ArrayType %b_Array[] =
85 { %i, (STRPTR)%i_STR },
92 /****************************************************************************/
97 static const char %b_Block[] =
100 "%4a" "%2t"\n %i_STR "%z"
104 #endif /* %b_BLOCK */
107 /****************************************************************************/
112 #ifndef %b_CODE_EXISTS
113 #define %b_CODE_EXISTS
115 STRPTR Get%bString(struct %b_LocaleInfo *li, IPTR stringNum)
121 l = (LONG *)%b_Block;
123 while (*l != stringNum)
125 w = (UWORD *)((IPTR)l + 4);
126 l = (IPTR *)((IPTR)l + (IPTR)*w + 6);
128 builtIn = (STRPTR)((IPTR)l + 6);
130 // #define %b_XLocaleBase LocaleBase
131 // #define LocaleBase li->li_LocaleBase
134 return(GetCatalogStr(li->li_Catalog, stringNum, builtIn));
137 // #define LocaleBase XLocaleBase
138 // #undef %b_XLocaleBase
145 STRPTR Get%bString(struct %b_LocaleInfo *li, IPTR stringNum);
147 #endif /* %b_CODE_EXISTS */
152 /****************************************************************************/
155 #endif /* %b_STRINGS_H */