about summary refs log tree commit diff
path: root/pkg/lang/vm/mem/ptr.go
blob: 5e3bf3d2f25bd2ee0fc33fa1483dee52aebb3393 (plain)
1
2
3
4
5
6
7
8
9
10
package mem

import "strconv"

type Ptr uint64

func (p Ptr) String() string {
	val := strconv.FormatUint(uint64(p), 10)
	return "@" + val
}