I have a special situation where I want to update my C memory structure 
pointed to by variable Pointer<NativeStruct> pInfo in java. So i want to 
update few members of this structure, I am using following code,

NativeStruct info = pInfo.get();

info.x= 2048;
info.y =2048;
...
...
pInfo->SetNativeObject(info, NativeStruct.class);

But above statement is not making any updates to the C structure. I also 
tried pInfo->set() but unfortunately it is leading to crash.

I am using Bridj 0.7.0 along with java 8.
Help needed.


-- 
You received this message because you are subscribed to the Google Groups 
"NativeLibs4Java" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to