> Here is a somewhat dated version of JNI.pas for FPC which might help you
out.

So now we have 3 JNI.pas wrapper...
I don't see any disclaimer, doc, changelog, whatsoever. Where do you get it?
Also, if you don't mind, update the dirty

{$ifdef mswindows}stdcall;{$else}cdecl;{$endif}

with:

{$macro on}
{$ifdef mswindows}
{$define jnicall:=stdcall}
{$else}
{$define jnicall:=cdecl}
{$endif}

once before all declarations, and you can simply use jnicall; as calling
convention modifier



--
View this message in context: 
http://free-pascal-general.1045716.n5.nabble.com/Access-fpc-libraries-with-Java-tp5718791p5718831.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to