MCPcopy Index your code
hub / github.com/tinygo-org/tinygo / pointerValue

Struct pointerValue

interp/memory.go:501–503  ·  view source on GitHub ↗

pointerValue contains a single pointer, with an offset into the underlying object.

Source from the content-addressed store, hash-verified

499// pointerValue contains a single pointer, with an offset into the underlying
500// object.
501type pointerValue struct {
502 pointer uint64 // low 32 bits are offset, high 32 bits are index
503}
504
505func newPointerValue(r *runner, index, offset int) pointerValue {
506 return pointerValue{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected