revert between 56095 -> 55830 in arch
[AROS.git] / tools / fd2inline / cross / share / m68k-amigaos / alib.h
blob039393ad70cc2ce3676dbee7ba0d2385aabe24a6
1 #ifndef _INLINE_ALIB_H
2 #define _INLINE_ALIB_H
4 #ifndef __INLINE_MACROS_H
5 #include <inline/macros.h>
6 #endif
8 #define BeginIO(ioReq) \
9 ({ \
10 struct IORequest *_BeginIO_request = (ioReq); \
11 LP1NR(0x1e, BeginIO, struct IORequest *, _BeginIO_request, a1, \
12 , _BeginIO_request->io_Device); \
15 #define NewList(list) \
16 ({ \
17 struct List *_NewList_list = (list); \
18 _NewList_list->lh_TailPred = (struct Node *)_NewList_list; \
19 _NewList_list->lh_Head = (struct Node *)&_NewList_list->lh_Tail; \
20 _NewList_list->lh_Tail = 0; \
23 #endif /* _INLINE_ALIB_H */