1// Copyright 2019 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package a
6
7import "unsafe"
8
9type HookFunc func(x uint64)
10
11var HookV unsafe.Pointer
12
13func Hook(x uint64) {
14	(*(*HookFunc)(HookV))(x)
15}
16