summaryrefslogtreecommitdiff
path: root/SDL-3.2.8/cmake/test/swift
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2026-03-06 13:26:57 -0800
committer3gg <3gg@shellblade.net>2026-03-06 13:26:57 -0800
commitf5c89b3bd5d74849757fd5b4d1a300068522a3ca (patch)
treed6f6e4c81745b393d7594b334710f30c0b2df3bd /SDL-3.2.8/cmake/test/swift
Initial commitHEADmain
Diffstat (limited to 'SDL-3.2.8/cmake/test/swift')
-rw-r--r--SDL-3.2.8/cmake/test/swift/module.modulemap4
-rw-r--r--SDL-3.2.8/cmake/test/swift/shim.h3
2 files changed, 7 insertions, 0 deletions
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 @@
1module SDL3 [extern_c] {
2 header "shim.h"
3 export *
4}
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 @@
1/* Contributed by Piotr Usewicz (https://github.com/pusewicz) */
2
3#include <SDL3/SDL.h>