From: Tomer P. <tom...@gm...> - 2014-05-14 11:00:13
|
> > Hello everyone > > i'd be glad if someone could answer or refer me to a guide regarding this > question: > assume i have this native func in c: > > bool doX(char* name, float* data); > > The function gets pointer and fills it with data. I wish to call this > function from java so i could get the modified data and be able to modify > it again in java scope. > How do I do that with SWIG? it has support for that? > > As far as i know java and c (native) has different memory addresses and > there is no access from one to the other. > meaning - its not possible to access the parameters "name & "data" from > java. > > Thanks in advanced > Tomer > |