If they're exported by the library, then you can use the HDF5.jl strategy as 
described in that thread.

If they're not exported by the library, then Clang.jl is your awesome friend.

--Tim

On Wednesday, November 18, 2015 11:22:22 AM Cedric St-Jean wrote:
> Is it possible to read the constants from a C header/source file? I found
> this discussion
> <https://groups.google.com/forum/#!searchin/julia-users/constant$20header/ju
> lia-users/jLRuEXNKml4/rI4EccFgbTkJ> from 2012, but there was no clean
> solution.
> 
> Is the standard practice just to copy-paste them into Julia code?

Reply via email to