1 #ifndef INLINE_MACROS_H
2 #define INLINE_MACROS_H
5 Copyright C 2003, The AROS Development Team. All rights reserved.
8 Desc: Inline macros for function calls
13 #include <exec/types.h>
20 These are general inlines used to call library's functions. Macros are
23 LPx - function that take X arguments.
25 Modifiers (variations possible):
26 NR - no return (void).
27 A4, A5 - "a4" or "a5" is used as one of the arguments.
28 UB - base will be given explicitly by user.
29 FP - one of the parameters has type "pointer to function"
32 #define LP0(offs, rt, name, bt, bn) \
37 _##name##_re = ((rt (*)())__AROS_GETJUMPVEC(__A6,(offs)/6))(); \
38 (rt)__D0 = _##name##_re; \
43 #define LP0NR(offs, name, bt, bn) \
47 ((rt (*)())__AROS_GETJUMPVEC(__A6,(offs)/6))(); \
53 #endif /* INLINE_MACROS_H */