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

Function init_port

tools/ports/__init__.py:46–55  ·  view source on GitHub ↗
(name, port)

Source from the content-addressed store, hash-verified

44
45
46def init_port(name, port):
47 ports.append(port)
48 port.is_contrib = name.startswith('contrib.')
49 port.is_external = hasattr(port, 'EXTERNAL_PORT')
50 port.name = name
51 ports_by_name[port.name] = port
52 if port.is_external:
53 init_external_port(name, port)
54 else:
55 init_local_port(name, port)
56
57
58def init_local_port(name, port):

Callers 2

load_external_portFunction · 0.85
load_portFunction · 0.85

Calls 3

init_external_portFunction · 0.85
init_local_portFunction · 0.85
appendMethod · 0.80

Tested by

no test coverage detected