2014-07-07 05:35:39 -06:00
|
|
|
// Copyright 2014 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2014-11-21 16:15:30 -07:00
|
|
|
package runtime
|
|
|
|
|
2014-12-22 22:03:40 -07:00
|
|
|
import _ "unsafe" // for go:cgo_export_static and go:cgo_export_dynamic
|
2014-07-07 05:35:39 -06:00
|
|
|
|
2015-04-16 20:01:20 -06:00
|
|
|
// Export the main function.
|
2014-07-07 05:35:39 -06:00
|
|
|
//
|
2015-04-16 20:01:20 -06:00
|
|
|
// Used by the app package to start all-Go Android apps that are
|
|
|
|
// loaded via JNI. See golang.org/x/mobile/app.
|
2014-07-07 05:35:39 -06:00
|
|
|
|
2015-04-16 20:01:20 -06:00
|
|
|
//go:cgo_export_static main.main
|
|
|
|
//go:cgo_export_dynamic main.main
|