diff options
Diffstat (limited to 'page.go')
-rw-r--r-- | page.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -33,6 +33,12 @@ type page struct { ptr uintptr } +// pageElementRef represents a reference to an element on a given page. +type pageElementRef struct { + page *page + index uint16 +} + // typ returns a human readable page type string used for debugging. func (p *page) typ() string { if (p.flags & p_branch) != 0 { |