A method return type 'int' is correctly parsed to 'int', but 'long' is parsed to void.....
is parsed to
public static native void func();
Hi @ParoX2k ,
Thanks for your report !
What's happening here is that the "long" modifier is parsed and attached to the function, which is completely incorrect ! (as a very temporary workaround, one can use "int" or "long int" instead of "long")
Thanks for your quick response on the mailing list also! :)
As far as my prio for this issue is concerned, i can live with this workaround for now. Only 1 out of 150 methods of my C library has return type long - and i just catched that one to try out the JNAerated code ;-)
JNAerator: fixed generation of "long f();", "short f();", "f();" (issue
This is now fixed, thanks again for your report !