Fixed compatibility of output.
[AROS.git] / compiler / alib / addappmenuitem.c
blobf09b97acd75126c4607bd11c0fac877704e42c90
1 /*
2 Copyright © 1995-2012, 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 IPTR id,
21 IPTR 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.library/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 */