http://docs.julialang.org/en/release-0.4/manual/calling-c-and-fortran-code/#accessing-global-variables
(only for exported globals -- preprocessor constants need to be extracted and defined in Julia) On Wed, Nov 18, 2015 at 2:22 PM, Cedric St-Jean <cedric.stj...@gmail.com> 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/julia-users/jLRuEXNKml4/rI4EccFgbTkJ> > from 2012, but there was no clean solution. > > Is the standard practice just to copy-paste them into Julia code? >