ochafik/nativelibs4java — Issue #267: short int is parsed apparently incorrectly
Author: rdp
Created: 2012-02-16 23:16:41+00:00
State: open

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-