Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / libs / popupmenu / staticlib / pm_setitemattrs.c
blobfd252430b85395c324fb1215af9cf3f25e07adb1
1 /*
2 Copyright © 2010, The AROS Development Team.
3 All rights reserved.
5 $Id$
6 */
8 #include <utility/tagitem.h>
9 #include <proto/alib.h>
11 /*****************************************************************************
13 NAME */
14 #define NO_INLINE_STDARG /* turn off inline def */
15 #include <proto/popupmenu.h>
16 extern struct PopupMenuBase * PopupMenuBase;
18 LONG PM_SetItemAttrs(
20 /* SYNOPSIS */
21 struct PopupMenu *p,
22 Tag tag1,
23 ...)
25 /* FUNCTION
27 INPUTS
29 RESULT
31 NOTES
33 EXAMPLE
35 BUGS
37 SEE ALSO
39 INTERNALS
41 HISTORY
43 *****************************************************************************/
45 AROS_SLOWSTACKTAGS_PRE(tag1)
47 retval = PM_SetItemAttrsA(p, AROS_SLOWSTACKTAGS_ARG(tag1));
49 AROS_SLOWSTACKTAGS_POST
50 } /* PM_SetItemAttrs */