Class _GValueArray

java.lang.Object
app.photofox.vipsffm.jextract._GValueArray
Direct Known Subclasses:
GValueArray

public class _GValueArray extends Object
struct _GValueArray {
    guint n_values;
    GValue *values;
    guint n_prealloced;
}
  • Method Details

    • layout

      public static final GroupLayout layout()
      The layout of this struct
    • n_values$layout

      public static final ValueLayout.OfInt n_values$layout()
      Layout for field:
      guint n_values
      
    • n_values$offset

      public static final long n_values$offset()
      Offset for field:
      guint n_values
      
    • n_values

      public static int n_values(MemorySegment struct)
      Getter for field:
      guint n_values
      
    • n_values

      public static void n_values(MemorySegment struct, int fieldValue)
      Setter for field:
      guint n_values
      
    • values$layout

      public static final AddressLayout values$layout()
      Layout for field:
      GValue *values
      
    • values$offset

      public static final long values$offset()
      Offset for field:
      GValue *values
      
    • values

      public static MemorySegment values(MemorySegment struct)
      Getter for field:
      GValue *values
      
    • values

      public static void values(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      GValue *values
      
    • n_prealloced$layout

      public static final ValueLayout.OfInt n_prealloced$layout()
      Layout for field:
      guint n_prealloced
      
    • n_prealloced$offset

      public static final long n_prealloced$offset()
      Offset for field:
      guint n_prealloced
      
    • n_prealloced

      public static int n_prealloced(MemorySegment struct)
      Getter for field:
      guint n_prealloced
      
    • n_prealloced

      public static void n_prealloced(MemorySegment struct, int fieldValue)
      Setter for field:
      guint n_prealloced
      
    • asSlice

      public static MemorySegment asSlice(MemorySegment array, long index)
      Obtains a slice of arrayParam which selects the array element at index. The returned segment has address arrayParam.address() + index * layout().byteSize()
    • sizeof

      public static long sizeof()
      The size (in bytes) of this struct
    • allocate

      public static MemorySegment allocate(SegmentAllocator allocator)
      Allocate a segment of size layout().byteSize() using allocator
    • allocateArray

      public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator)
      Allocate an array of size elementCount using allocator. The returned segment has size elementCount * layout().byteSize().
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size layout().byteSize()
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size elementCount * layout().byteSize()