From 5a079a2d114f96d4847d1ee305d5b7c16eeec50e Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 27 Dec 2025 12:03:39 -0800 Subject: Initial commit --- contrib/SDL-3.2.8/cmake/test/swift/module.modulemap | 4 ++++ contrib/SDL-3.2.8/cmake/test/swift/shim.h | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 contrib/SDL-3.2.8/cmake/test/swift/module.modulemap create mode 100644 contrib/SDL-3.2.8/cmake/test/swift/shim.h (limited to 'contrib/SDL-3.2.8/cmake/test/swift') 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 @@ +module SDL3 [extern_c] { + header "shim.h" + export * +} 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 @@ +/* Contributed by Piotr Usewicz (https://github.com/pusewicz) */ + +#include -- cgit v1.2.3