github.com/sbinet/go-cfitsio@v0.0.0-20140625105338-0307f985659e/version.go (about) 1 package cfitsio 2 3 // #include "go-cfitsio.h" 4 import "C" 5 6 // Version returns the revision number of the CFITSIO library. The revision number will be incremented with each new release of CFITSIO. 7 func Version() float32 { 8 v := C.float(0) 9 C.ffvers(&v) 10 return float32(v) 11 } 12 13 // EOF