]> git.saurik.com Git - apple/libc.git/blobdiff - include/stdint.modulemap
Libc-1439.40.11.tar.gz
[apple/libc.git] / include / stdint.modulemap
diff --git a/include/stdint.modulemap b/include/stdint.modulemap
new file mode 100644 (file)
index 0000000..e279662
--- /dev/null
@@ -0,0 +1,52 @@
+// Module map for stdint.h.
+//
+// Expected to be included by the top-level module.modulemap.
+//
+// See also: module.modulemap
+// See also: _types.modulemap (reset of _types/)
+
+// This is a module for the version of stdint.h provided by Libc.  It is a
+// standalone module to allow Clang's builtins and libc++ to interpose and then
+// call #include_next.
+module Darwin_C_stdint [system] [extern_c] [no_undeclared_includes] {
+        export *
+
+        module stdint {
+                export *
+                header "stdint.h"
+        }
+
+        extern module _pthread_types "sys_pthread_types.modulemap"
+        extern module _sys_types "sys__types.modulemap"
+        extern module _sys_cdefs "sys_cdefs.modulemap"
+        extern module _machine_types "machine_types.modulemap"
+
+        module _types {
+                export *
+
+                module _intmax_t {
+                        export *
+                        header "_types/_intmax_t.h"
+                }
+                module _uint16_t {
+                        export *
+                        header "_types/_uint16_t.h"
+                }
+                module _uint32_t {
+                        export *
+                        header "_types/_uint32_t.h"
+                }
+                module _uint64_t {
+                        export *
+                        header "_types/_uint64_t.h"
+                }
+                module _uint8_t {
+                        export *
+                        header "_types/_uint8_t.h"
+                }
+                module _uintmax_t {
+                        export *
+                        header "_types/_uintmax_t.h"
+                }
+        }
+}