fix comment
[AROS.git] / compiler / alib / obtainbestpen.c
blobdf8c5f8f8b0ef292b17d8b378c1b3d423cc43714
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 ... )
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 */