squashed commit of private hostlib-resource branch
[tangerine.git] / compiler / alib / addappmenuitem.c
blobba3b79ca7023094ec37c598e92ce5cefcd3ba21f
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Varargs version of workbench.library/AddAppMenuItemA()
6 Lang: english
7 */
8 #define AROS_TAGRETURNTYPE struct AppMenuItem *
9 #include <utility/tagitem.h>
11 /*****************************************************************************
13 NAME */
14 #define NO_INLINE_STDARG /* turn off inline def */
15 #include <proto/workbench.h>
17 struct AppMenuItem * AddAppMenuItem (
19 /* SYNOPSIS */
20 ULONG id,
21 ULONG userdata,
22 STRPTR text,
23 struct MsgPort * msgport,
24 Tag tag1,
25 ...)
27 /* FUNCTION
28 This is the varargs version of workbench.library/AddAppMenuItemA().
29 For information see workbench.library/AddAppMenuItemA().
31 INPUTS
33 RESULT
35 NOTES
37 EXAMPLE
39 BUGS
41 SEE ALSO
42 workbench/AddAppMenuItemA()
44 INTERNALS
46 HISTORY
48 *****************************************************************************/
50 AROS_SLOWSTACKTAGS_PRE(tag1)
51 retval = AddAppMenuItemA (id, userdata, text, msgport, AROS_SLOWSTACKTAGS_ARG(tag1));
52 AROS_SLOWSTACKTAGS_POST
53 } /* AddAppMenuItem */