github.com/c-darwin/mobile@v0.0.0-20160313183840-ff625c46f7c9/bind/testdata/basictypes.go (about)

     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 basictypes
     6  
     7  func Ints(x int8, y int16, z int32, t int64, u int) {}
     8  
     9  func Error() error { return nil }
    10  
    11  func ErrorPair() (int, error) { return 0, nil }
    12  
    13  func ByteArrays(x []byte) []byte { return nil }
    14  
    15  func Bool(bool) bool { return true }