squashed commit of private hostlib-resource branch
[tangerine.git] / compiler / alib / gt_getgadgetattrs.c
blob0e4c469aefa5bd9358d7e78c60c7d6ee370348d5
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Get attributes of a gadtools gadget
6 Lang: english
7 */
9 #include <exec/types.h>
10 #define AROS_TAGRETURNTYPE LONG
12 #include "alib_intern.h"
14 extern struct Library * GadToolsBase;
16 /*****************************************************************************
18 NAME */
19 #include <intuition/intuition.h>
20 #include <utility/tagitem.h>
21 #include <libraries/gadtools.h>
22 #define NO_INLINE_STDARG /* turn off inline def */
23 #include <proto/gadtools.h>
25 LONG GT_GetGadgetAttrs (
27 /* SYNOPSIS */
28 struct Gadget * gad,
29 struct Window * win,
30 struct Requester * req,
31 Tag tag1,
32 ... )
34 /* FUNCTION
35 Varargs version of gadtools.library/GT_GetGadgetAttrsA().
37 INPUTS
39 RESULT
41 NOTES
43 EXAMPLE
45 BUGS
47 SEE ALSO
48 gadtools.library/GT_GetGadgetAttrsA()
50 INTERNALS
52 HISTORY
54 *****************************************************************************/
56 AROS_SLOWSTACKTAGS_PRE(tag1)
57 retval = GT_GetGadgetAttrsA (gad, win, req, AROS_SLOWSTACKTAGS_ARG(tag1));
58 AROS_SLOWSTACKTAGS_POST
59 } /* GT_GetGadgetAttrs */