Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / libs / popupmenu / staticlib / pm_makemenu.c
blobde050446d0eed0d89d6eefa03f2625e82e5267fb
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 struct PopupMenu *PM_MakeMenu(
20 /* SYNOPSIS */
21 Tag tag1,
22 ...)
24 /* FUNCTION
26 INPUTS
28 RESULT
30 NOTES
32 EXAMPLE
34 BUGS
36 SEE ALSO
38 INTERNALS
40 HISTORY
42 *****************************************************************************/
44 AROS_SLOWSTACKTAGS_PRE_AS(tag1, struct PopupMenu *)
46 retval = PM_MakeMenuA(AROS_SLOWSTACKTAGS_ARG(tag1));
48 AROS_SLOWSTACKTAGS_POST
49 } /* PM_MakeMenu */