Don't call ReadArgs() if started from WB.
[tangerine.git] / compiler / alib / closeworkbenchobject.c
blob18720395b1a0685158128e8156489329ce916f4b
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Varargs version of workbench.library/CloseWorkbenchObjectA()
6 Lang: english
7 */
8 #define AROS_TAGRETURNTYPE BOOL
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 BOOL CloseWorkbenchObject(
20 /* SYNOPSIS */
21 STRPTR name,
22 Tag tag1,
23 ...)
25 /* FUNCTION
26 This is the varargs version of workbench.library/CloseWorkbenchObjectA().
27 For information see workbench.library/CloseWorkbenchObjectA().
29 INPUTS
31 RESULT
33 NOTES
35 EXAMPLE
37 BUGS
39 SEE ALSO
40 workbench/CloseWorkbenchObjectA()
42 INTERNALS
44 HISTORY
46 *****************************************************************************/
48 AROS_SLOWSTACKTAGS_PRE(tag1)
49 retval = CloseWorkbenchObjectA( name, AROS_SLOWSTACKTAGS_ARG(tag1));
50 AROS_SLOWSTACKTAGS_POST
51 } /* CloseWorkbenchObject */