JNA struct members appear without names:
public static class Blob extends Structure {
public NativeLong ;
public Pointer ;
}
The code says:
@fields.each do |field|
writer.puts "public #{field[:type].java_jna_type} #{field[:symbol]};"
end
I believe it should be something like:
@fields.each do |field|
writer.puts "public #{field[:type].java_jna_type} #{field[:name].raw};"
end