jnr / jnr-ffi

Java Abstracted Foreign Function Layer
Other
1.23k stars 154 forks source link

Investigate failing Pointer Boolean tests on Darwin (macOS) #302

Open basshelal opened 2 years ago

basshelal commented 2 years ago

See https://github.com/jnr/jnr-ffi/pull/299

Only testPointerGetBoolean() and testPointerSetBoolean() fail which is odd, my guess is there's some macOS quirk we're missing like the memory isn't being cleared before allocation, or there's some padding bytes, or the size of a Boolean on macOS is a little different etc.