...

Source file src/runtime/os_android.go

Documentation: runtime

     1  // Copyright 2014 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  package runtime
     6  
     7  import _ "unsafe" // for go:cgo_export_static and go:cgo_export_dynamic
     8  
     9  // Export the main function.
    10  //
    11  // Used by the app package to start all-Go Android apps that are
    12  // loaded via JNI. See golang.org/x/mobile/app.
    13  
    14  //go:cgo_export_static main.main
    15  //go:cgo_export_dynamic main.main
    16  

View as plain text