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

Method num_imported_funcs

tools/webassembly.py:583–585  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

581 self.imports_by_kind[i.kind].append(i)
582
583 def num_imported_funcs(self):
584 self._calc_indexes()
585 return len(self.imports_by_kind.get(ExternType.FUNC, []))
586
587 def num_imported_globals(self):
588 self._calc_indexes()

Callers 4

get_function_namesMethod · 0.95
get_functionMethod · 0.95
get_function_typeMethod · 0.95

Calls 2

_calc_indexesMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected