JuliaAstro / FITSIO.jl

Flexible Image Transport System (FITS) file support for Julia
http://juliaastro.org/FITSIO.jl/
MIT License
55 stars 29 forks source link

add fits_movnam_hdu() #6

Closed kbarbary closed 10 years ago

kbarbary commented 10 years ago

Wrap the function fits_movnam_hdu().

I also threw in a small change to show() whereby the current HDU is indicated with an asterisk.

While implementing this I noticed that none of the statuses are getting captured in ccall. Passing the pointer &f.status in ccall doesn't allow the c library to update f.status, so f.status always remains 0, even when a non-zero status is returned by cfitsio. I'm going to work on fixing this in a separate PR.