Source file misc/cgo/fortran/fortran.go
1 // Copyright 2016 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 fortran 6 7 // int the_answer(); 8 import "C" 9 10 func TheAnswer() int { 11 return int(C.the_answer()) 12 } 13