X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/fc56b708803d28b949a9181528bb0da4d25b3b7b..a9aaacca3a68bb8d74fec09d8d8681a0efda2581:/include/stdint.modulemap diff --git a/include/stdint.modulemap b/include/stdint.modulemap new file mode 100644 index 0000000..e279662 --- /dev/null +++ b/include/stdint.modulemap @@ -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" + } + } +}