short int is parsed apparently incorrectly #267

Closed
rdp opened this Issue Feb 16, 2012 · 1 comment

Projects

None yet

2 participants

@rdp
rdp commented Feb 16, 2012

Hello again. Sorry for the flood.

typedef struct sg_io_hdr
{
  unsigned short int iovec_count;
} sg_io_hdr_t;

this parses as

public class sg_io_hdr_t extends Structure {
    public int iovec_count;
       ...

I "guess" it should be a short in java?
Cheers!
-roger-

@ochafik
Member
ochafik commented Feb 19, 2012

Hi Roger,

Thanks for the "flood", much appreciated ;-)

I've committed and deployed a fix for that issue that went unnoticed for way too long, thank you for reporting it !

Cheers

@ochafik ochafik closed this Feb 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment