Debian Codegraph @

app/internal/callfn/callfn.go

raw
1 // Copyright 2015 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
5 //go:build android && (arm || 386 || amd64 || arm64)
6
7 // Package callfn provides an android entry point.
8 //
9 // It is a separate package from app because it contains Go assembly,
10 // which does not compile in a package using cgo.
11 package callfn
12
13 // CallFn calls a zero-argument function by its program counter.
14 // It is only intended for calling main.main. Using it for
15 // anything else will not end well.
16 func CallFn(fn uintptr)