summaryrefslogtreecommitdiff
path: root/vendor/github.com/ugorji/go/codec/goversion_swissmap_unsafe.go
blob: 5f062e87c77c27b3eccefbb58d321ab4a232fd4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2012-2020 Ugorji Nwoke. All rights reserved.
// Use of this source code is governed by a MIT license found in the LICENSE file.

//go:build !safe && !codec.safe && !appengine && go1.24

package codec

import "unsafe"

// retrofited from linknameIter struct (compatibility layer for swissmaps)

type unsafeMapIterPadding struct {
	_ [2]unsafe.Pointer // padding: *abi.SwissMapType, *maps.Iter
	_ uintptr           // padding: wasted (try to fill cache-line at multiple of 4)
}