Don't call ReadArgs() if started from WB.
[tangerine.git] / compiler / alib / createmenus.c
blob64326b9c21ab3e52c6e96b839f145151d23de38a
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Create a gadtools menu
6 Lang: english
7 */
9 #define AROS_TAGRETURNTYPE struct Menu *
11 #include "alib_intern.h"
13 extern struct Library * GadToolsBase;
15 /*****************************************************************************
17 NAME */
18 #include <intuition/intuition.h>
19 #include <utility/tagitem.h>
20 #include <libraries/gadtools.h>
21 #define NO_INLINE_STDARG /* turn off inline def */
22 #include <proto/gadtools.h>
24 struct Menu * CreateMenus (
26 /* SYNOPSIS */
27 struct NewMenu * newmenu,
28 Tag tag1,
29 ... )
31 /* FUNCTION
32 Varargs version of gadtools.library/CreateMenusA().
34 INPUTS
36 RESULT
38 NOTES
40 EXAMPLE
42 BUGS
44 SEE ALSO
46 INTERNALS
48 HISTORY
50 *****************************************************************************/
52 AROS_SLOWSTACKTAGS_PRE(tag1)
53 retval = CreateMenusA (newmenu, AROS_SLOWSTACKTAGS_ARG(tag1));
54 AROS_SLOWSTACKTAGS_POST
55 } /* CreateMenus */