New bitmap method SetRGBConversionFunction which can be used to
[tangerine.git] / workbench / libs / dummylib_gcc.h
blob86f8a788491b176a96555213e75643b2b6ff918e
1 #ifndef DUMMYLIB_GCC_H
2 #define DUMMYLIB_GCC_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Demo library
9 Lang: english
11 #include <aros/libcall.h>
12 #include <exec/execbase.h>
13 #include <exec/libraries.h>
14 #include <dos/dos.h>
16 struct dummybase
18 struct Library library;
19 struct ExecBase *sysbase;
20 BPTR seglist;
23 #define init(dummybase, segList) \
24 AROS_LC2(struct dummybase *, init, AROS_LHA(struct dummybase *, dummybase, D0), AROS_LHA(BPTR, segList, A0), struct ExecBase *, SysBase, 0, dummy)
26 #define open(version) \
27 AROS_LC1(struct dummybase *, open, AROS_LHA(ULONG, version, D0), struct dummybase *, dummybase, 1, dummy)
29 #define close() \
30 AROS_LC0(BPTR, close, struct dummybase *, dummybase, 2, dummy)
32 #define expunge() \
33 AROS_LC0(BPTR, expunge, struct dummybase *, dummybase, 3, dummy)
35 #define null() \
36 AROS_LC0(int, null, struct dummybase *, dummybase, 4, dummy)
38 #define add(a, b) \
39 AROS_LC2(ULONG, add, AROS_LHA(ULONG,a,D0), AROS_LHA(ULONG,b,D1), struct dummybase *,dummybase,5,dummy)
41 #define asl(a, b) \
42 AROS_LC2(ULONG, asl, AROS_LHA(ULONG,a,D0), AROS_LHA(ULONG,b,D1), struct dummybase *,dummybase,6,dummy)
44 #endif /* DUMMYLIB_GCC_H */