1 /* Automatically generated header! Do not edit! */
3 #ifndef _INLINE_EXAMPLE_H
4 #define _INLINE_EXAMPLE_H
7 #include <aros/libcall.h>
8 #endif /* !AROS_LIBCALL_H */
10 #ifndef EXAMPLE_BASE_NAME
11 #define EXAMPLE_BASE_NAME ExampleBase
12 #endif /* !EXAMPLE_BASE_NAME */
14 #define SayHelloOS4() __SayHelloOS4_WB(EXAMPLE_BASE_NAME)
15 #define __SayHelloOS4_WB(___base) \
16 AROS_LC0(char *, SayHelloOS4, \
17 struct Library *, (___base), 5, Example)
19 #define SayHelloOS3() __SayHelloOS3_WB(EXAMPLE_BASE_NAME)
20 #define __SayHelloOS3_WB(___base) \
21 AROS_LC0(char *, SayHelloOS3, \
22 struct Library *, (___base), 6, Example)
24 #define SayHelloMOS() __SayHelloMOS_WB(EXAMPLE_BASE_NAME)
25 #define __SayHelloMOS_WB(___base) \
26 AROS_LC0(char *, SayHelloMOS, \
27 struct Library *, (___base), 7, Example)
29 #define Uppercase(___txt) __Uppercase_WB(EXAMPLE_BASE_NAME, ___txt)
30 #define __Uppercase_WB(___base, ___txt) \
31 AROS_LC1(char *, Uppercase, \
32 AROS_LCA(char *, (___txt), A0), \
33 struct Library *, (___base), 8, Example)
35 #define SPrintfA(___buf, ___format, ___args) __SPrintfA_WB(EXAMPLE_BASE_NAME, ___buf, ___format, ___args)
36 #define __SPrintfA_WB(___base, ___buf, ___format, ___args) \
37 AROS_LC3(char *, SPrintfA, \
38 AROS_LCA(char *, (___buf), A0), \
39 AROS_LCA(char *, (___format), A1), \
40 AROS_LCA(APTR, (___args), A2), \
41 struct Library *, (___base), 9, Example)
43 #ifndef NO_INLINE_VARARGS
44 #include <proto/alib.h>
47 #define SPrintf(___buf, ___format, ___args, ...) __SPrintf_WB(EXAMPLE_BASE_NAME, ___buf, ___format, ___args, ## __VA_ARGS__)
48 static inline char *__SPrintf_WB(struct Library
*___base
, char *___buf
, char *___format
, ...)
52 AROS_SLOWSTACKFORMAT_PRE(___format
);
53 ret
= __SPrintfA_WB(___base
, ___buf
, ___format
, AROS_SLOWSTACKFORMAT_ARG(___format
));
54 AROS_SLOWSTACKFORMAT_POST(___format
);
58 #endif /* !NO_INLINE_VARARGS */
60 #endif /* !_INLINE_EXAMPLE_H */