Struct array slice accessor

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      Jextract could generate a slice accessor for struct arrays in the struct classes it generates.

      This accessor would look something like this:

          MemorySegment slice(MemorySegment arr, long index)

      Where 'arr' is an array of structs, and this method would return a single struct slice of that array.

            Assignee:
            Jorn Vernee
            Reporter:
            Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: