This might get you started: http://stackoverflow.com/questions/7929905/how-to-write-c-wrapper-around-c-code-to-expose-class-methods
Cheers, Kevin On Wed, Apr 9, 2014 at 10:24 AM, Simon Byrne <simonby...@gmail.com> wrote: > I would like to call a small number of boost functions from julia for the > purposes of comparison, in particular the incomplete gamma functions: > > http://www.boost.org/doc/libs/1_55_0/libs/math/doc/html/math_toolkit/sf_gamma/igamma.html > > As I understand from previous discussions, the template-heavy nature of > boost means that these can't be called using clang.jl. Could anyone tell me > how I might go about writing a C wrapper for one of these functions, so > that I can call them from julia? > > thanks, > Simon >