graphics.library: In INVERSVID mode, don't clobber the GC's pens
[AROS.git] / compiler / alib / addappicon.c
blob0a11690d51db9f702e777b1ab9475f43b0d093c6
1 /*
2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Varargs version of workbench.library/AddAppIconA()
6 Lang: english
7 */
8 #define AROS_TAGRETURNTYPE struct AppIcon *
9 #include <dos/bptr.h>
10 #include <utility/tagitem.h>
12 /*****************************************************************************
14 NAME */
15 #define NO_INLINE_STDARG /* turn off inline def */
16 #include <proto/workbench.h>
18 struct AppIcon * AddAppIcon (
20 /* SYNOPSIS */
21 IPTR id,
22 IPTR userdata,
23 CONST_STRPTR text,
24 struct MsgPort * msgport,
25 BPTR lock,
26 struct DiskObject * diskobj,
27 Tag tag1,
28 ...)
30 /* FUNCTION
31 This is the varargs version of workbench.library/AddAppIconA().
32 For information see workbench.library/AddAppIconA().
34 INPUTS
36 RESULT
38 NOTES
40 EXAMPLE
42 BUGS
44 SEE ALSO
45 workbench.library/AddAppIconA()
47 INTERNALS
49 HISTORY
51 *****************************************************************************/
53 AROS_SLOWSTACKTAGS_PRE(tag1)
54 retval = AddAppIconA (id, userdata, text, msgport, lock, diskobj, AROS_SLOWSTACKTAGS_ARG(tag1));
55 AROS_SLOWSTACKTAGS_POST
56 } /* AddAppIcon */