/
module.modulemap
162 lines (133 loc) · 3.09 KB
/
module.modulemap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
//===--- module.modulemap -------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
//
// SWIFT_ENABLE_TENSORFLOW
//
//===----------------------------------------------------------------------===//
module CPython [system] [extern_c] {
umbrella header "include/Python.h"
export *
module * { export * }
explicit module bitset {
header "include/bitset.h"
export *
}
explicit module bytes_methods {
header "include/bytes_methods.h"
export *
}
explicit module cStringIO {
header "include/cStringIO.h"
export *
}
explicit module datetime {
header "include/datetime.h"
export *
}
explicit module errcode {
header "include/errcode.h"
export *
}
explicit module frameobject {
header "include/frameobject.h"
export *
}
explicit module graminit {
header "include/graminit.h"
export *
}
explicit module grammar {
// rdar://problem/19484773
requires !cplusplus
header "include/grammar.h"
export *
}
explicit module longintrepr {
header "include/longintrepr.h"
export *
}
explicit module marshal {
header "include/marshal.h"
export *
}
explicit module metagrammar {
header "include/metagrammar.h"
export *
}
explicit module node {
header "include/node.h"
export *
}
explicit module opcode {
header "include/opcode.h"
export *
}
explicit module osdefs {
header "include/osdefs.h"
export *
}
explicit module parsetok {
// rdar://problem/19484773
requires !cplusplus
header "include/parsetok.h"
export *
}
explicit module pgen {
// rdar://problem/19484773
requires !cplusplus
header "include/pgen.h"
export *
}
explicit module pgenheaders {
header "include/pgenheaders.h"
export *
}
explicit module py_curses {
header "include/py_curses.h"
export *
}
explicit module pygetopt {
header "include/pygetopt.h"
export *
}
explicit module pythread {
header "include/pythread.h"
export *
}
explicit module structmember {
header "include/structmember.h"
export *
}
explicit module structseq {
header "include/structseq.h"
export *
}
explicit module timefuncs {
header "include/timefuncs.h"
export *
}
explicit module token {
header "include/token.h"
export *
}
explicit module ucnhash {
header "include/ucnhash.h"
export *
}
// FIXME: true/false issues might be a compiler bug
exclude header "include/asdl.h"
exclude header "include/ast.h"
exclude header "include/Python-ast.h"
exclude header "include/symtable.h"
// Note: missing #include here
exclude header "include/pyexpat.h"
}