Closed PeteSL closed 6 years ago
Is this backwards compatible with 4.0 i.e. would not affect current users? And thanks for the work!
Yes, it is compatible with 4.0. setPreserveLastError was no-op'ed in 4.0 (we had added it for 3.x) and Native.POINTER_SIZE was introduced in 4.0 to deprecate Pointer.SIZE (I think their philosophy was that it should have been under Native for consistency).
Thanks! I will try to find time to do release in about three weeks, if you do not hear back from me, give me a nudge.
JNA 5.0 removed deprecated Native.setPreserveLastError which was simply a NOOP in JNA 4.0. JNA 5.0 removed deprecated Pointer.SIZE which was replaced by Native.POINTER_SIZE in JNA 4.0.