mirror of
https://github.com/golang/go
synced 2024-11-14 18:00:25 -07:00
e8689404a7
This affected certain signatures needing padding like: //export Foo func Foo() (int, C.long) { ... } R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4745047
13 lines
265 B
Go
13 lines
265 B
Go
// Copyright 2011 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.
|
|
|
|
package cgotest
|
|
|
|
import "C"
|
|
|
|
//export ReturnIntLong
|
|
func ReturnIntLong() (int, C.long) {
|
|
return 1, 2
|
|
}
|