On Mar 29, 2016 4:11 PM, "Devin Butterfield" <[email protected]> wrote: > > Hi Folks, > > I am working on an application that must call Julia from C code. I have everything working except the part where I need to pass a C-string to a julia function. I was hoping to do something like this: > > jl_value_t * mod = (jl_value_t*)jl_eval_string("mymodule"); > > jl_value_t *arg = jl_box_string("this is a c string"); <---- !!! > > jl_value_t *ret = jl_call1(func, arg); > > > But no such jl_box_string() function exists. Is this possible using some other approach?
jl_pchar_to_string > > Thanks! > -- > Regards, Devin
