2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
5 Desc: common code for language description files
8 /* ----------------------------------------------------------------------- */
10 /* Bit masks for locale .language functions. Only implement GetString() */
11 #define LF_GetLangStr (1L << 3)
13 /* ------------------------------------------------------------------------
14 Language specific functions
15 ------------------------------------------------------------------------ */
18 /* ULONG LanguageMask():
19 This function is to inform locale.library what functions it should
20 use from this library. This is done by returning a bitmask containing
21 1's for functions to use, and 0's for functions to ignore.
23 Unused bits MUST be 0 for future compatibility.
25 AROS_LH0(ULONG, mask, struct Language *, language, 5, language)
29 return ( LF_GetLangStr );
34 /* STRPTR GetLangString(ULONG num): Language function 3
35 This function is called by GetLocaleStr() and should return
36 the string matching the string id passed in as num.
38 AROS_LH1(STRPTR, getlangstring,
39 AROS_LHA(ULONG, id, D0),
40 struct LocaleBase *, LocaleBase, 9, language)
45 return ___strings[id];