github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/mobile/app/internal/callfn/callfn.go (about) 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 // +build android,arm 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)