New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

short int is parsed apparently incorrectly #267

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

Comments

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

This comment has been minimized.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment