Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8249810

Jextract should generate parameter types with Addressable type

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • repo-panama
    • tools

      The Addressable type is more flexible than MemoryAddress, since it works on both segments and addresses. It would be useful if jextract generated static wrappers where parameter types used the Addressable type, rather than the more specific MemoryAddress type. This would allow clients to e.g. call a native function binding accepting a pointer with either a segment or an address, thus improving usability.

            mcimadamore Maurizio Cimadamore
            mcimadamore Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: