Don't call ReadArgs() if started from WB.
[tangerine.git] / compiler / alib / addappicon.c
blob9d37f20326cf39d527c895e7d2401943f5bfd3a8
1 /*
2 Copyright © 1995-2001, 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 ULONG id,
22 ULONG userdata,
23 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/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 */