Skip to content

Commit 5229f34

Browse files
committed
Suppressing the header not included warning
1 parent 2ecf72f commit 5229f34

2 files changed

Lines changed: 86 additions & 4 deletions

File tree

Copilot for Xcode.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/module.modulemap.copy

Lines changed: 83 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,86 @@ module Python {
22
umbrella header "Python.h"
33
export *
44
link "Python"
5-
}
5+
exclude header "marshal.h"
6+
exclude header "py_curses.h"
7+
exclude header "errcode.h"
8+
exclude header "structmember.h"
9+
exclude header "frameobject.h"
10+
exclude header "/internal/pycore_pyerrors.h"
11+
exclude header "/internal/pycore_warnings.h"
12+
exclude header "/internal/pycore_global_strings.h"
13+
exclude header "/internal/pycore_asdl.h"
14+
exclude header "/internal/pycore_getopt.h"
15+
exclude header "/internal/pycore_hamt.h"
16+
exclude header "/internal/pycore_pymath.h"
17+
exclude header "/internal/pycore_parser.h"
18+
exclude header "/internal/pycore_accu.h"
19+
exclude header "/internal/pycore_runtime_init.h"
20+
exclude header "/internal/pycore_pylifecycle.h"
21+
exclude header "/internal/pycore_runtime.h"
22+
exclude header "/internal/pycore_emscripten_signal.h"
23+
exclude header "/internal/pycore_namespace.h"
24+
exclude header "/internal/pycore_genobject.h"
25+
exclude header "/internal/pycore_gil.h"
26+
exclude header "/internal/pycore_exceptions.h"
27+
exclude header "/internal/pycore_compile.h"
28+
exclude header "/internal/pycore_signal.h"
29+
exclude header "/internal/pycore_atomic_funcs.h"
30+
exclude header "/internal/pycore_sliceobject.h"
31+
exclude header "/internal/pycore_code.h"
32+
exclude header "/internal/pycore_unionobject.h"
33+
exclude header "/internal/pycore_pyhash.h"
34+
exclude header "/internal/pycore_tuple.h"
35+
exclude header "/internal/pycore_long.h"
36+
exclude header "/internal/pycore_ucnhash.h"
37+
exclude header "/internal/pycore_fileutils.h"
38+
exclude header "/internal/pycore_floatobject.h"
39+
exclude header "/internal/pycore_call.h"
40+
exclude header "/internal/pycore_hashtable.h"
41+
exclude header "/internal/pycore_abstract.h"
42+
exclude header "/internal/pycore_list.h"
43+
exclude header "/internal/pycore_pymem.h"
44+
exclude header "/internal/pycore_structseq.h"
45+
exclude header "/internal/pycore_bitutils.h"
46+
exclude header "/internal/pycore_interpreteridobject.h"
47+
exclude header "/internal/pycore_pystate.h"
48+
exclude header "/internal/pycore_gc.h"
49+
exclude header "/internal/pycore_traceback.h"
50+
exclude header "/internal/pycore_dict.h"
51+
exclude header "/internal/pycore_strhex.h"
52+
exclude header "/internal/pycore_atomic.h"
53+
exclude header "/internal/pycore_import.h"
54+
exclude header "/internal/pycore_symtable.h"
55+
exclude header "/internal/pycore_sysmodule.h"
56+
exclude header "/internal/pycore_ast_state.h"
57+
exclude header "/internal/pycore_pyarena.h"
58+
exclude header "/internal/pycore_initconfig.h"
59+
exclude header "/internal/pycore_bytesobject.h"
60+
exclude header "/internal/pycore_frame.h"
61+
exclude header "/internal/pycore_opcode.h"
62+
exclude header "/internal/pycore_interp.h"
63+
exclude header "/internal/pycore_dtoa.h"
64+
exclude header "/internal/pycore_format.h"
65+
exclude header "/internal/pycore_function.h"
66+
exclude header "/internal/pycore_condvar.h"
67+
exclude header "/internal/pycore_typeobject.h"
68+
exclude header "/internal/pycore_bytes_methods.h"
69+
exclude header "/internal/pycore_object.h"
70+
exclude header "/internal/pycore_ceval.h"
71+
exclude header "/internal/pycore_pathconfig.h"
72+
exclude header "/internal/pycore_moduleobject.h"
73+
exclude header "/internal/pycore_global_objects.h"
74+
exclude header "/internal/pycore_unicodeobject.h"
75+
exclude header "/internal/pycore_blocks_output_buffer.h"
76+
exclude header "/internal/pycore_context.h"
77+
exclude header "/internal/pycore_ast.h"
78+
exclude header "datetime.h"
79+
exclude header "pyexpat.h"
80+
exclude header "/cpython/pthread_stubs.h"
81+
exclude header "/cpython/frameobject.h"
82+
exclude header "token.h"
83+
exclude header "osdefs.h"
84+
exclude header "opcode.h"
85+
exclude header "pydtrace.h"
86+
exclude header "dynamic_annotations.h"
87+
}

0 commit comments

Comments
 (0)