Re: [julia-users] How to pass char* string to julia via jl_call?

2016-03-29 Thread Yichao Yu
On Mar 29, 2016 4:11 PM, "Devin Butterfield" 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

[julia-users] How to pass char* string to julia via jl_call?

2016-03-29 Thread Devin Butterfield
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 =