Cool, even changing the values of array works :) Could you please also add type conversation for int and double type ASAP?
On Thursday, April 7, 2016 at 12:41:06 AM UTC+3, Bart Janssens wrote: > > Hi, > > The problem is that the float* type was not mapped yet by CxxWrap. I have > just added it, so your example should work after you > Pkg.checkout("CxxWrap") and rebuild. Before rebuilding you may need to > remove the usr dir in .julia/v0.4/CxxWrap/deps. Also, you need to pass a > Float32 array to Hello.greet in Julia. > > Note that I am adding functionality as-needed, so if you hit other > problems like this feel free to create an issue on Github. > > Cheers, > > Bart > > > On Wednesday, April 6, 2016 at 9:51:39 PM UTC+2, Jānis Erdmanis wrote: >> >> Hello, >> >> are anyone using CxxWrap.jl library? I am trying to figure out a way to >> pass array to the function. So far I have came up to to this nonworking >> (makes julia to crash) code >> >