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

Function get_function_exports

tools/extract_metadata.py:246–251  ·  view source on GitHub ↗
(module)

Source from the content-addressed store, hash-verified

244
245
246def get_function_exports(module):
247 rtn = {}
248 for e in module.get_exports():
249 if e.kind == webassembly.ExternType.FUNC:
250 rtn[e.name] = module.get_function_type(e.index)
251 return rtn
252
253
254def get_other_exports(module):

Callers 2

update_metadataFunction · 0.85
extract_metadataFunction · 0.85

Calls 2

get_exportsMethod · 0.80
get_function_typeMethod · 0.80

Tested by

no test coverage detected