tools/adflib: Move host version to $(CROSSTOOLS), fix several small bugs
[AROS.git] / compiler / alib / newloadsegtags.c
blob4cbf0436b22b9a7f56fa375b216285f50855da0a
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Varargs version of dos.library/NewLoadSeg()
6 Lang: english
7 */
9 #define AROS_TAGRETURNTYPE BPTR
10 #include <dos/bptr.h>
11 #include <utility/tagitem.h>
13 /*****************************************************************************
15 NAME */
16 #define NO_INLINE_STDARG /* turn off inline def */
17 #include <proto/dos.h>
19 BPTR NewLoadSegTags (
21 /* SYNOPSIS */
22 STRPTR file,
23 Tag tag1,
24 ...)
26 /* FUNCTION
27 This is the varargs version of dos.library/NewLoadSeg().
28 For information see dos.library/NewLoadSeg().
30 INPUTS
32 RESULT
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
41 dos.library/NewLoadSeg()
43 INTERNALS
45 HISTORY
47 *****************************************************************************/
49 AROS_SLOWSTACKTAGS_PRE(tag1)
50 retval = NewLoadSeg (file, AROS_SLOWSTACKTAGS_ARG(tag1));
51 AROS_SLOWSTACKTAGS_POST
52 } /* NewLoadSegTags */