From f5c89b3bd5d74849757fd5b4d1a300068522a3ca Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Fri, 6 Mar 2026 13:26:57 -0800 Subject: Initial commit --- SDL-3.2.8/cmake/test/swift/module.modulemap | 4 ++++ SDL-3.2.8/cmake/test/swift/shim.h | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 SDL-3.2.8/cmake/test/swift/module.modulemap create mode 100644 SDL-3.2.8/cmake/test/swift/shim.h (limited to 'SDL-3.2.8/cmake/test/swift') diff --git a/SDL-3.2.8/cmake/test/swift/module.modulemap b/SDL-3.2.8/cmake/test/swift/module.modulemap new file mode 100644 index 0000000..bbc26a9 --- /dev/null +++ b/SDL-3.2.8/cmake/test/swift/module.modulemap @@ -0,0 +1,4 @@ +module SDL3 [extern_c] { + header "shim.h" + export * +} diff --git a/SDL-3.2.8/cmake/test/swift/shim.h b/SDL-3.2.8/cmake/test/swift/shim.h new file mode 100644 index 0000000..dba8c6f --- /dev/null +++ b/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