Skip to content

Instantly share code, notes, and snippets.

View tgvaughan's full-sized avatar

Tim Vaughan tgvaughan

View GitHub Profile
@tgvaughan
tgvaughan / hellobeagle.jl
Last active March 30, 2016 22:33 — forked from sdwfrost/hellobeagle.jl
Example of using the BEAGLE library in Julia
@printf "BEAGLE version %s\n" bytestring(ccall((:beagleGetVersion,"libhmsbeagle"), Ptr{Cchar}, (),))
@printf "%s\n" bytestring(ccall((:beagleGetCitation,"libhmsbeagle"), Ptr{Cchar}, (),))
#typealias Cint Int64
const BEAGLE_OP_COUNT = 7
const BEAGLE_OP_NONE = -1