repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* tree-vect-loop-manip.c (vect_do_peeling): Do not use
[official-gcc.git]
/
libgo
/
misc
/
cgo
/
test
/
exports.go
blob
71e5dcdd3df2e76c637f7677de299b4817d213b5
1
// Copyright 2011 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
cgotest
6
7
import
"C"
8
import
"runtime"
9
10
//export ReturnIntLong
11
func
ReturnIntLong
() (
int
,
C
.
long
) {
12
return
1
,
2
13
}
14
15
//export gc
16
func
gc
() {
17
runtime
.
GC
()
18
}