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