2 Copyright © 1995-2008, 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 const 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 user
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.library/OpenCatalogA(), locale.library/CloseCatalog(),
57 locale.library/GetCatalogStr()
61 *****************************************************************************/
63 AROS_SLOWSTACKTAGS_PRE(tag1
)
65 retval
= OpenCatalogA(locale
, name
, AROS_SLOWSTACKTAGS_ARG(tag1
));
67 AROS_SLOWSTACKTAGS_POST