Don't call ReadArgs() if started from WB.
[tangerine.git] / compiler / alib / buildeasyrequest.c
blob7988c29afc6b14d09bba90f11b258b816ac2d8df
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Varargs version of BuildEasyRequestArgs() (intuition.library)
6 Lang: english
7 */
8 #include <stdarg.h>
10 /*****************************************************************************
12 NAME */
13 #define NO_INLINE_STDARG /* turn off inline def */
14 #include <proto/intuition.h>
15 #include <intuition/intuition.h>
17 struct Window * BuildEasyRequest (
19 /* SYNOPSIS */
20 struct Window * RefWindow,
21 struct EasyStruct * easyStruct,
22 ULONG IDCMP,
23 ...)
25 /* FUNCTION
27 INPUTS
29 RESULT
31 NOTES
33 EXAMPLE
35 BUGS
37 SEE ALSO
39 INTERNALS
41 HISTORY
43 *****************************************************************************/
45 va_list args;
46 struct Window * rc;
48 va_start (args, IDCMP);
50 rc = BuildEasyRequestArgs (RefWindow, easyStruct, IDCMP, (APTR)args);
52 va_end (args);
54 return rc;
55 } /* BuildEasyRequest */