genmodule: Add <exec/devices.h> to the device proto includes
[AROS.git] / compiler / alib / allocaslrequesttags.c
blobafceda14de151c1cad20dabe1af0390c005b8a10
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Varargs version of AllocAslRequestA()
6 Lang: english
7 */
8 #define AROS_TAGRETURNTYPE APTR
9 #include <utility/tagitem.h>
12 /*****************************************************************************
14 NAME */
15 #include <libraries/asl.h>
16 #include <proto/asl.h>
17 extern struct Library *AslBase;
18 #undef AllocAslRequestTags /* Get rid of the macro from inline/ */
20 APTR AllocAslRequestTags (
22 /* SYNOPSIS */
23 ULONG reqType,
24 Tag tag1,
25 ...)
27 /* FUNCTION
28 This is the varargs version of the asl.library AllocAslRequest().
29 For information see asl.library/AllocAslRequest().
31 INPUTS
32 reqType - Type of requester to allocate.
33 tag1 - TagList of extra arguments.
35 NOTES
37 EXAMPLE
39 BUGS
41 SEE ALSO
42 asl.library/AllocAslRequest()
44 INTERNALS
46 HISTORY
47 23-03-2000 bernie Wrote.
49 *****************************************************************************/
51 AROS_SLOWSTACKTAGS_PRE(tag1)
53 retval = AllocAslRequest(reqType, AROS_SLOWSTACKTAGS_ARG(tag1));
55 AROS_SLOWSTACKTAGS_POST
57 } /* AllocAslRequestTags */