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

Method num_imported_globals

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

Source from the content-addressed store, hash-verified

585 return len(self.imports_by_kind.get(ExternType.FUNC, []))
586
587 def num_imported_globals(self):
588 self._calc_indexes()
589 return len(self.imports_by_kind.get(ExternType.GLOBAL, []))
590
591 def get_function(self, idx):
592 self._calc_indexes()

Callers 1

get_globalMethod · 0.95

Calls 2

_calc_indexesMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected