revert 213 commits (to 56092) from the last month. 10 still need work to resolve...
[AROS.git] / workbench / libs / gallium / include / gallium.h
blobcbdb8a71493a92f1962978f027c6ef45e3ee74ae
1 /*
2 Copyright © 2010-2018, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef GALLIUM_GALLIUM_H
7 #define GALLIUM_GALLIUM_H
9 #define GALLIUM_INTERFACE_VERSION 5
11 /* Tags for CreatePipeScreen() function */
12 #define CPS_Dummy (TAG_USER)
13 #define CPS_GalliumInterfaceVersion (CPS_Dummy + 1)
14 #define CPS_PipeFriendBitMap (CPS_Dummy + 2)
15 #define CPS_PipeScreenDriver (CPS_Dummy + 3)
17 /* A special version of CreatePipe() function with version embeded in call */
18 #define CreatePipeV(tags) \
19 ({ \
20 struct TagItem cpsvtags [] = \
21 { \
22 { CPS_GalliumInterfaceVersion, GALLIUM_INTERFACE_VERSION }, \
23 { TAG_MORE, (IPTR)tags } \
24 }; \
25 CreatePipe(cpsvtags); \
28 typedef APTR PipeHandle_t;
29 typedef APTR PipeScreen_t;
31 #endif