Closed bturner closed 6 years ago
EpollEvent.EpollEventPrototype.detectAlignment()
Platform
ALIGN_NONE
ALIGN_GNUC
EpollEventTest.testSize
This is similar to #93, but it uses JNA's Platform to make decisions instead of trying to parse "os.arch" directly.
@bturner I'll take this one. 👍
EpollEvent.EpollEventPrototype.detectAlignment()
, which uses JNA'sPlatform
utilities to detect x86-64 and useALIGN_NONE
ALIGN_GNUC
is usedALIGN_GNUC
will be usedEpollEventTest.testSize
to set the expected size to 12 or 16 bytes depending on the architecture detected by JNA'sPlatform