2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: Varargs version of OpenCatalog()
9 #define AROS_TAGRETURNTYPE struct Catalog *
10 #include <utility/tagitem.h>
13 /*****************************************************************************
16 #include <libraries/locale.h>
17 #include <proto/locale.h>
18 extern struct LocaleBase
*LocaleBase
;
19 #undef OpenCatalog /* Get rid of the macro from inline/ */
21 struct Catalog
* OpenCatalog (
24 struct Locale
* locale
,
30 This is the varargs version of the locale.library OpenCatalogA().
31 For information see locale.library/OpenCatalog()
34 locale - The locale describing the language the users
36 name - Name of the catalog file.
37 tag1 - TagList of extra arguments.
40 Either a pointer to a Catalog, or NULL.
42 Although the function may have returned NULL, that does not
43 necessarily meant there is an error. If dos/IoErr() returns
44 0, then there was no error, but the language of the built in
45 strings is the same as that of a catalog.
47 If IoErr() != 0, then there was an error however.
56 locale/OpenCatalogA(), locale/CloseCatalog(),
57 locale/GetCatalogStr()
62 15-02-1997 iaint Wrote.
64 *****************************************************************************/
66 AROS_LIBBASE_EXT_DECL(struct LocaleBase
*,LocaleBase
)
68 AROS_SLOWSTACKTAGS_PRE(tag1
)
70 retval
= OpenCatalogA(locale
, name
, AROS_SLOWSTACKTAGS_ARG(tag1
));
72 AROS_SLOWSTACKTAGS_POST