4 /****************************************************************
5 This file was created automatically by `%fv'
9 ****************************************************************/
16 #include <exec/types.h>
21 #undef CATCOMP_NUMBERS
22 #undef CATCOMP_STRINGS
23 #define CATCOMP_NUMBERS
24 #define CATCOMP_STRINGS
28 #undef CATCOMP_STRINGS
29 #define CATCOMP_STRINGS
32 /***************************************************************/
35 #ifdef CATCOMP_NUMBERS
39 #endif /* CATCOMP_NUMBERS */
42 /***************************************************************/
44 #ifdef CATCOMP_STRINGS
48 #endif /* CATCOMP_STRINGS */
51 /***************************************************************/
56 struct CatCompArrayType
62 static const struct CatCompArrayType CatCompArray[] =
68 #endif /* CATCOMP_ARRAY */
70 /***************************************************************/
75 //static const chat CatCompBlock[] =
80 #endif /* CATCOMP_BLOCK */
82 /***************************************************************/
93 STRPTR GetString(struct LocaleInfo *li, LONG stringNum)
99 l = (LONG *)CatCompBlock;
101 while (*l != stringNum)
103 w = (UWORD *)((IPTR)l + 4);
104 l = (LONG *)((IPTR)l + (LONG)*w + 6);
106 builtIn = (STRPTR)((IPTR)l + 6);
108 #define XLocaleBase LocaleBase
109 #define LocaleBase li->li_LocaleBase
112 return(GetCatalogStr(li->li_Catalog,stringNum,builtIn));
113 #define LocaleBase XLocaleBase
119 #endif /* CATCOMP_CODE */
121 /***************************************************************/