Class _VipsArea

java.lang.Object
app.photofox.vipsffm.jextract._VipsArea
Direct Known Subclasses:
VipsArea

public class _VipsArea extends Object
struct _VipsArea {
    void *data;
    size_t length;
    int n;
    int count;
    GMutex *lock;
    VipsCallbackFn free_fn;
    void *client;
    GType type;
    size_t sizeof_type;
}
  • Method Details

    • layout

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

      public static final AddressLayout data$layout()
      Layout for field:
      void *data
      
    • data$offset

      public static final long data$offset()
      Offset for field:
      void *data
      
    • data

      public static MemorySegment data(MemorySegment struct)
      Getter for field:
      void *data
      
    • data

      public static void data(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      void *data
      
    • length$layout

      public static final ValueLayout.OfLong length$layout()
      Layout for field:
      size_t length
      
    • length$offset

      public static final long length$offset()
      Offset for field:
      size_t length
      
    • length

      public static long length(MemorySegment struct)
      Getter for field:
      size_t length
      
    • length

      public static void length(MemorySegment struct, long fieldValue)
      Setter for field:
      size_t length
      
    • n$layout

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

      public static final long n$offset()
      Offset for field:
      int n
      
    • n

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

      public static void n(MemorySegment struct, int fieldValue)
      Setter for field:
      int n
      
    • count$layout

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

      public static final long count$offset()
      Offset for field:
      int count
      
    • count

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

      public static void count(MemorySegment struct, int fieldValue)
      Setter for field:
      int count
      
    • lock$layout

      public static final AddressLayout lock$layout()
      Layout for field:
      GMutex *lock
      
    • lock$offset

      public static final long lock$offset()
      Offset for field:
      GMutex *lock
      
    • lock

      public static MemorySegment lock(MemorySegment struct)
      Getter for field:
      GMutex *lock
      
    • lock

      public static void lock(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      GMutex *lock
      
    • free_fn$layout

      public static final AddressLayout free_fn$layout()
      Layout for field:
      VipsCallbackFn free_fn
      
    • free_fn$offset

      public static final long free_fn$offset()
      Offset for field:
      VipsCallbackFn free_fn
      
    • free_fn

      public static MemorySegment free_fn(MemorySegment struct)
      Getter for field:
      VipsCallbackFn free_fn
      
    • free_fn

      public static void free_fn(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      VipsCallbackFn free_fn
      
    • client$layout

      public static final AddressLayout client$layout()
      Layout for field:
      void *client
      
    • client$offset

      public static final long client$offset()
      Offset for field:
      void *client
      
    • client

      public static MemorySegment client(MemorySegment struct)
      Getter for field:
      void *client
      
    • client

      public static void client(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      void *client
      
    • type$layout

      public static final ValueLayout.OfLong type$layout()
      Layout for field:
      GType type
      
    • type$offset

      public static final long type$offset()
      Offset for field:
      GType type
      
    • type

      public static long type(MemorySegment struct)
      Getter for field:
      GType type
      
    • type

      public static void type(MemorySegment struct, long fieldValue)
      Setter for field:
      GType type
      
    • sizeof_type$layout

      public static final ValueLayout.OfLong sizeof_type$layout()
      Layout for field:
      size_t sizeof_type
      
    • sizeof_type$offset

      public static final long sizeof_type$offset()
      Offset for field:
      size_t sizeof_type
      
    • sizeof_type

      public static long sizeof_type(MemorySegment struct)
      Getter for field:
      size_t sizeof_type
      
    • sizeof_type

      public static void sizeof_type(MemorySegment struct, long fieldValue)
      Setter for field:
      size_t sizeof_type
      
    • 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()