Documentation
¶
Index ¶
- Constants
- Variables
- func BytesAppend(a []byte, b []byte) []byte
- func CallIError(i I, triggerError bool) error
- func CallIStringError(i I, s string) (string, error)
- func CallSSum(s *S) float64
- func CallWithNull(_null NullTest, nuller NullTest) bool
- func CollectS(want, timeoutSec int) int
- func Echo(s string) string
- func GC()
- func Hello(s string) string
- func Hi()
- func Int(x int32)
- func Multiply(idx int32, val int32) int64
- func ReadIntoByteArray(s []byte) (int, error)
- func RegisterI(idx int32, i I)
- func ReturnsError(b bool) (string, error)
- func StringDup(s string) string
- func Sum(x, y int64) int64
- func UnregisterI(idx int32)
- type I
- type Node
- type NullFieldStruct
- type NullTest
- type S
- type StructThatStartsWithLetterBeforeZ
- type Z
Constants ¶
View Source
const ( AString = "a string" AnInt = 7 ABool = true AFloat = 0.12345 ALongString = "" /* 593-byte string literal not displayed */ MinInt32 int32 = math.MinInt32 MaxInt32 int32 = math.MaxInt32 MinInt64 = math.MinInt64 MaxInt64 = math.MaxInt64 SmallestNonzeroFloat64 = math.SmallestNonzeroFloat64 MaxFloat64 = math.MaxFloat64 SmallestNonzeroFloat32 float32 = math.SmallestNonzeroFloat64 MaxFloat32 float32 = math.MaxFloat32 Log2E = math.Log2E )
Variables ¶
View Source
var ( StringVar = "a string var" IntVar = 77 StructVar = &Node{V: "a struct var"} InterfaceVar I )
Functions ¶
func BytesAppend ¶
func CallIError ¶
func CallWithNull ¶
func ReadIntoByteArray ¶
func ReturnsError ¶
func UnregisterI ¶
func UnregisterI(idx int32)
Types ¶
type I ¶
type I interface { Times(v int32) int64 Error(triggerError bool) error StringError(s string) (string, error) }
func NewNullInterface ¶
func NewNullInterface() I
type NullFieldStruct ¶
type NullFieldStruct struct {
F *S
}
Issue #13033
func NewNullFieldStruct ¶
func NewNullFieldStruct() *NullFieldStruct
type S ¶
type S struct {
X, Y float64
// contains filtered or unexported fields
}
func NewNullStruct ¶
func NewNullStruct() *S
func (*S) TryTwoStrings ¶
type StructThatStartsWithLetterBeforeZ ¶
type StructThatStartsWithLetterBeforeZ struct {
Value Z
}
issue 13004
Directories
¶
Path | Synopsis |
---|---|
Package gomobile_bind is an autogenerated binder stub for package testpkg.
|
Package gomobile_bind is an autogenerated binder stub for package testpkg. |
Click to show internal directories.
Click to hide internal directories.