MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / inspect_code

Function inspect_code

tools/gen_struct_info.py:283–290  ·  view source on GitHub ↗
(headers, cflags)

Source from the content-addressed store, hash-verified

281
282
283def inspect_code(headers, cflags):
284 if not DEBUG:
285 info = inspect_headers(headers, cflags)
286 else:
287 info = {'defines': {}, 'structs': {}}
288 for header in headers:
289 merge_info(info, inspect_headers([header], cflags))
290 return info
291
292
293def parse_json(path):

Callers 1

mainFunction · 0.85

Calls 2

inspect_headersFunction · 0.85
merge_infoFunction · 0.85

Tested by

no test coverage detected