diff options
Diffstat (limited to 'tests/projects/swift/modulemap/src/hello.h')
| -rw-r--r-- | tests/projects/swift/modulemap/src/hello.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/projects/swift/modulemap/src/hello.h b/tests/projects/swift/modulemap/src/hello.h new file mode 100644 index 000000000..80849f5df --- /dev/null +++ b/tests/projects/swift/modulemap/src/hello.h @@ -0,0 +1,14 @@ +#include <stdio.h> + +#ifdef __cplusplus +extern "C" { +#endif + void say1(char const* s); +#ifdef __cplusplus +} +#endif +static inline void say2(char const* s) { + printf("%s\n", s); +} + + |
