Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903715

Jextract generates duplicate allocator parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • None
    • tools

      Consider this C code:

      struct A { int x; };
      struct A foo(int allocator);

      Jextract generates the following binding:

      public static MemorySegment foo(SegmentAllocator allocator, int allocator) { ... }

      Note the duplicate "allocator" parameter name.


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

              Created:
              Updated:
              Resolved: