]>
Commit | Line | Data |
---|---|---|
a9aaacca A |
1 | // Module map for stdint.h. |
2 | // | |
3 | // Expected to be included by the top-level module.modulemap. | |
4 | // | |
5 | // See also: module.modulemap | |
6 | // See also: _types.modulemap (reset of _types/) | |
7 | ||
8 | // This is a module for the version of stdint.h provided by Libc. It is a | |
9 | // standalone module to allow Clang's builtins and libc++ to interpose and then | |
10 | // call #include_next. | |
11 | module Darwin_C_stdint [system] [extern_c] [no_undeclared_includes] { | |
12 | export * | |
13 | ||
14 | module stdint { | |
15 | export * | |
16 | header "stdint.h" | |
17 | } | |
18 | ||
19 | extern module _pthread_types "sys_pthread_types.modulemap" | |
20 | extern module _sys_types "sys__types.modulemap" | |
21 | extern module _sys_cdefs "sys_cdefs.modulemap" | |
22 | extern module _machine_types "machine_types.modulemap" | |
23 | ||
24 | module _types { | |
25 | export * | |
26 | ||
27 | module _intmax_t { | |
28 | export * | |
29 | header "_types/_intmax_t.h" | |
30 | } | |
31 | module _uint16_t { | |
32 | export * | |
33 | header "_types/_uint16_t.h" | |
34 | } | |
35 | module _uint32_t { | |
36 | export * | |
37 | header "_types/_uint32_t.h" | |
38 | } | |
39 | module _uint64_t { | |
40 | export * | |
41 | header "_types/_uint64_t.h" | |
42 | } | |
43 | module _uint8_t { | |
44 | export * | |
45 | header "_types/_uint8_t.h" | |
46 | } | |
47 | module _uintmax_t { | |
48 | export * | |
49 | header "_types/_uintmax_t.h" | |
50 | } | |
51 | } | |
52 | } |