12
12
13
13
// The following modules have to be standalone top-level modules to deal with
14
14
// version 10.0.26100 of the Windows SDK.
15
- module _malloc [system] [no_undeclared_includes] {
16
- use corecrt
17
- header "malloc.h"
18
- export *
19
- }
20
-
21
15
module _complex [system] [no_undeclared_includes] {
22
16
use corecrt
23
17
use std
24
18
header "complex.h"
25
19
export *
26
20
}
27
21
28
- module _stddef [system] [no_undeclared_includes] {
29
- use corecrt
30
- textual header "stddef.h"
31
- }
32
-
33
- module _stdlib [system] [no_undeclared_includes] {
34
- use corecrt
35
- use vcruntime
36
- header "stdlib.h"
37
- export *
38
- }
39
-
40
- module _ctype [system] [no_undeclared_includes] {
41
- use corecrt
42
- textual header "ctype.h"
43
- }
44
-
45
- module _errno [system] [no_undeclared_includes] {
46
- use corecrt
47
- textual header "errno.h"
48
- }
49
-
50
- module _stdnoreturn [system] [no_undeclared_includes] {
51
- use corecrt
52
- textual header "stdnoreturn.h"
53
- }
54
-
55
-
56
22
module ucrt [system] {
57
- export _malloc
58
23
59
24
module C {
60
25
export _complex
61
- export _stdlib
62
-
63
26
64
27
module ctype {
65
28
header "ctype.h"
@@ -91,6 +54,11 @@ module ucrt [system] {
91
54
export *
92
55
}
93
56
57
+ module malloc {
58
+ header "malloc.h"
59
+ export *
60
+ }
61
+
94
62
module math {
95
63
header "math.h"
96
64
export *
@@ -106,6 +74,11 @@ module ucrt [system] {
106
74
export *
107
75
}
108
76
77
+ module stddef {
78
+ textual header "stddef.h"
79
+ export *
80
+ }
81
+
109
82
module stdio {
110
83
header "stdio.h"
111
84
export *
@@ -202,11 +175,6 @@ module ucrt [system] {
202
175
}
203
176
}
204
177
205
- module _corecrt_memcpy_s [system] [no_undeclared_includes] {
206
- textual header "corecrt_memcpy_s.h"
207
- export *
208
- }
209
-
210
178
module corecrt [system] {
211
179
use vcruntime
212
180
@@ -246,7 +214,8 @@ module corecrt [system] {
246
214
}
247
215
248
216
module memcpy {
249
- textual header "corecrt_memcpy_s.h"
217
+ header "corecrt_memcpy_s.h"
218
+ export *
250
219
}
251
220
252
221
module process {
0 commit comments