A few questions about the JNA:
(1) Is there any comprehensive tutorial/explanation of it, aside from the API?
(2) What's the difference between a BlockingFunction and a Function?
(3) How do you pass a double to a native function that takes in 6 arguments? Do you simply do this:
Pointer my_double=new Pointer(8);
my_double.setDouble(0,0.8);
native_func.call6(blah,blah,blah,blah,blah,my_doub le.address().toUWord().toPrimitive());


Reply With Quote
