aboutsummaryrefslogtreecommitdiff
path: root/page.go
diff options
context:
space:
mode:
Diffstat (limited to 'page.go')
-rw-r--r--page.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/page.go b/page.go
index 7c5a91c..f4dd19c 100644
--- a/page.go
+++ b/page.go
@@ -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 {