summaryrefslogtreecommitdiff
path: root/vendor/github.com/bytedance/sonic/internal/rt/map_legacy.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/bytedance/sonic/internal/rt/map_legacy.go')
-rw-r--r--vendor/github.com/bytedance/sonic/internal/rt/map_legacy.go25
1 files changed, 25 insertions, 0 deletions
diff --git a/vendor/github.com/bytedance/sonic/internal/rt/map_legacy.go b/vendor/github.com/bytedance/sonic/internal/rt/map_legacy.go
new file mode 100644
index 000000000..fc8fe5171
--- /dev/null
+++ b/vendor/github.com/bytedance/sonic/internal/rt/map_legacy.go
@@ -0,0 +1,25 @@
+// +build !go1.24
+
+package rt
+
+import (
+ "unsafe"
+)
+
+type GoMapIterator struct {
+ K unsafe.Pointer
+ V unsafe.Pointer
+ T *GoMapType
+ H unsafe.Pointer
+ Buckets unsafe.Pointer
+ Bptr *unsafe.Pointer
+ Overflow *[]unsafe.Pointer
+ OldOverflow *[]unsafe.Pointer
+ StartBucket uintptr
+ Offset uint8
+ Wrapped bool
+ B uint8
+ I uint8
+ Bucket uintptr
+ CheckBucket uintptr
+}