diff options
Diffstat (limited to 'src/contrib/SDL-3.2.20/cmake/test/swift')
-rw-r--r-- | src/contrib/SDL-3.2.20/cmake/test/swift/module.modulemap | 4 | ||||
-rw-r--r-- | src/contrib/SDL-3.2.20/cmake/test/swift/shim.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/contrib/SDL-3.2.20/cmake/test/swift/module.modulemap b/src/contrib/SDL-3.2.20/cmake/test/swift/module.modulemap new file mode 100644 index 0000000..bbc26a9 --- /dev/null +++ b/src/contrib/SDL-3.2.20/cmake/test/swift/module.modulemap | |||
@@ -0,0 +1,4 @@ | |||
1 | module SDL3 [extern_c] { | ||
2 | header "shim.h" | ||
3 | export * | ||
4 | } | ||
diff --git a/src/contrib/SDL-3.2.20/cmake/test/swift/shim.h b/src/contrib/SDL-3.2.20/cmake/test/swift/shim.h new file mode 100644 index 0000000..dba8c6f --- /dev/null +++ b/src/contrib/SDL-3.2.20/cmake/test/swift/shim.h | |||
@@ -0,0 +1,3 @@ | |||
1 | /* Contributed by Piotr Usewicz (https://github.com/pusewicz) */ | ||
2 | |||
3 | #include <SDL3/SDL.h> | ||