Skip to content

java generator doesn't output struct member names #37

@ghazel

Description

@ghazel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions