MCPcopy Create free account
hub / github.com/aio-libs/multidict / build_object

Function build_object

tools/codegen_diff.py:141–161  ·  view source on GitHub ↗
(tree, python, source, out, keep_static)

Source from the content-addressed store, hash-verified

139
140
141def build_object(tree, python, source, out, keep_static):
142 flags = list(CFLAGS)
143 if keep_static:
144 flags.append("-fkeep-static-functions")
145 # The package directory is on the include path so that a --probe file
146 # kept outside the tree can still say #include "_multilib/....h".
147 gcc(
148 [
149 *flags,
150 "-I",
151 include_dir(python),
152 "-I",
153 tree,
154 "-I",
155 Path(tree) / "multidict",
156 source,
157 "-o",
158 out,
159 ],
160 cwd=tree,
161 )
162
163
164def disassemble(obj):

Callers 1

mainFunction · 0.70

Calls 2

gccFunction · 0.85
include_dirFunction · 0.85

Tested by

no test coverage detected