Don't call ReadArgs() if started from WB.
[tangerine.git] / compiler / alib / setwindowpointer.c
blob129cae2d18125dc05e10b7927aeb7bc92d8897da
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Obtain the closes pen to a given color
6 Lang: english
7 */
9 #include <exec/types.h>
10 #define AROS_TAGRETURNTYPE void
11 #define AROS_TAGRETURNTYPEVOID
13 #include "alib_intern.h"
15 extern struct IntuitionBase * IntuitionBase;
17 /*****************************************************************************
19 NAME */
20 #include <utility/tagitem.h>
21 #include <intuition/intuition.h>
22 #define NO_INLINE_STDARG /* turn off inline def */
23 #include <proto/intuition.h>
25 void SetWindowPointer (
27 /* SYNOPSIS */
28 struct Window * window,
29 ULONG tag1,
30 ... )
32 /* FUNCTION
33 Varargs version of intuition.library/SetWindowPointerA().
35 INPUTS
37 RESULT
39 NOTES
41 EXAMPLE
43 BUGS
45 SEE ALSO
47 INTERNALS
49 HISTORY
51 *****************************************************************************/
53 AROS_SLOWSTACKTAGS_PRE(tag1)
54 SetWindowPointerA (window, AROS_SLOWSTACKTAGS_ARG(tag1));
55 AROS_SLOWSTACKTAGS_POST
56 } /* SetWindowPointer */