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

Add Addressable abstraction

XMLWordPrintable

      The Foreign Memory Access API should provide a common interface for all entities that can be mapped onto a MemoryAddress such as:

      - MemoryAddress (trivially)
      - MemorySegment (baseAddress)
      - Lookup symbol
      - VaList

      This will give jextract more ammo to generate Addressable where a pointer is expected, so that clients can pass either a MemoryAddress or a MemorySegment, or a VaList.

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

              Created:
              Updated:
              Resolved: