MCPcopy Create free account
hub / github.com/djhworld/simple-computer / ConnectOutput

Method ConnectOutput

components/components.go:341–343  ·  view source on GitHub ↗
(b Component)

Source from the content-addressed store, hash-verified

339}
340
341func (o *XORer) ConnectOutput(b Component) {
342 o.next = b
343}
344
345func (o *XORer) GetOutputWire(index int) bool {
346 return o.outputs[index].Get()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected