Fixed compiler warnings.
[AROS.git] / compiler / alib / obtainbestpen.c
bloba539165853d606c6df27f984ac6f3332e93072f0
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Obtain the best pen available for a given color
6 Lang: english
7 */
9 #define AROS_TAGRETURNTYPE LONG
10 #include <graphics/view.h>
11 #include <utility/tagitem.h>
13 /*****************************************************************************
15 NAME */
16 #define NO_INLINE_STDARG /* turn off inline def */
17 #include <proto/graphics.h>
19 LONG ObtainBestPen (
21 /* SYNOPSIS */
22 struct ColorMap * cm,
23 ULONG R,
24 ULONG G,
25 ULONG B,
26 Tag tag1,
27 ... ) __stackparm
29 /* FUNCTION
30 This is the varargs version of graphics.library/ObtainBestPenA().
31 For information see graphics.library/ObtainBestPenA().
33 INPUTS
35 RESULT
37 NOTES
39 EXAMPLE
41 BUGS
43 SEE ALSO
44 graphics.library/ObtainBestPenA()
46 INTERNALS
48 HISTORY
50 *****************************************************************************/
52 AROS_SLOWSTACKTAGS_PRE(tag1)
53 retval = ObtainBestPenA (cm, R,G,B, AROS_SLOWSTACKTAGS_ARG(tag1));
54 AROS_SLOWSTACKTAGS_POST
55 } /* ObtainBestPen */