Class _VipsArea
java.lang.Object
app.photofox.vipsffm.jextract._VipsArea
-
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegmentallocate(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()usingallocatorstatic MemorySegmentallocateArray(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCountusingallocator.static MemorySegmentasSlice(MemorySegment array, long index) Obtains a slice ofarrayParamwhich selects the array element atindex.static MemorySegmentclient(MemorySegment struct) Getter for field:void *clientstatic voidclient(MemorySegment struct, MemorySegment fieldValue) Setter for field:void *clientstatic final AddressLayoutLayout for field:void *clientstatic final longOffset for field:void *clientstatic intcount(MemorySegment struct) Getter for field:int countstatic voidcount(MemorySegment struct, int fieldValue) Setter for field:int countstatic final ValueLayout.OfIntLayout for field:int countstatic final longOffset for field:int countstatic MemorySegmentdata(MemorySegment struct) Getter for field:void *datastatic voiddata(MemorySegment struct, MemorySegment fieldValue) Setter for field:void *datastatic final AddressLayoutLayout for field:void *datastatic final longOffset for field:void *datastatic MemorySegmentfree_fn(MemorySegment struct) Getter for field:VipsCallbackFn free_fnstatic voidfree_fn(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsCallbackFn free_fnstatic final AddressLayoutLayout for field:VipsCallbackFn free_fnstatic final longOffset for field:VipsCallbackFn free_fnstatic final GroupLayoutlayout()The layout of this structstatic longlength(MemorySegment struct) Getter for field:size_t lengthstatic voidlength(MemorySegment struct, long fieldValue) Setter for field:size_t lengthstatic final ValueLayout.OfLongLayout for field:size_t lengthstatic final longOffset for field:size_t lengthstatic MemorySegmentlock(MemorySegment struct) Getter for field:GMutex lockstatic voidlock(MemorySegment struct, MemorySegment fieldValue) Setter for field:GMutex lockstatic final GroupLayoutLayout for field:GMutex lockstatic final longOffset for field:GMutex lockstatic intn(MemorySegment struct) Getter for field:int nstatic voidn(MemorySegment struct, int fieldValue) Setter for field:int nstatic final ValueLayout.OfIntn$layout()Layout for field:int nstatic final longn$offset()Offset for field:int nstatic MemorySegmentreinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static MemorySegmentreinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static longsizeof()The size (in bytes) of this structstatic longsizeof_type(MemorySegment struct) Getter for field:size_t sizeof_typestatic voidsizeof_type(MemorySegment struct, long fieldValue) Setter for field:size_t sizeof_typestatic final ValueLayout.OfLongLayout for field:size_t sizeof_typestatic final longOffset for field:size_t sizeof_typestatic longtype(MemorySegment struct) Getter for field:GType typestatic voidtype(MemorySegment struct, long fieldValue) Setter for field:GType typestatic final ValueLayout.OfLongLayout for field:GType typestatic final longOffset for field:GType type
-
Method Details
-
layout
The layout of this struct -
data$layout
Layout for field:void *data -
data$offset
public static final long data$offset()Offset for field:void *data -
data
Getter for field:void *data -
data
Setter for field:void *data -
length$layout
Layout for field:size_t length -
length$offset
public static final long length$offset()Offset for field:size_t length -
length
Getter for field:size_t length -
length
Setter for field:size_t length -
n$layout
Layout for field:int n -
n$offset
public static final long n$offset()Offset for field:int n -
n
Getter for field:int n -
n
Setter for field:int n -
count$layout
Layout for field:int count -
count$offset
public static final long count$offset()Offset for field:int count -
count
Getter for field:int count -
count
Setter for field:int count -
lock$layout
Layout for field:GMutex lock -
lock$offset
public static final long lock$offset()Offset for field:GMutex lock -
lock
Getter for field:GMutex lock -
lock
Setter for field:GMutex lock -
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
Getter for field:VipsCallbackFn free_fn -
free_fn
Setter for field:VipsCallbackFn free_fn -
client$layout
Layout for field:void *client -
client$offset
public static final long client$offset()Offset for field:void *client -
client
Getter for field:void *client -
client
Setter for field:void *client -
type$layout
Layout for field:GType type -
type$offset
public static final long type$offset()Offset for field:GType type -
type
Getter for field:GType type -
type
Setter for field:GType type -
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
Getter for field:size_t sizeof_type -
sizeof_type
Setter for field:size_t sizeof_type -
asSlice
Obtains a slice ofarrayParamwhich selects the array element atindex. The returned segment has addressarrayParam.address() + index * layout().byteSize() -
sizeof
public static long sizeof()The size (in bytes) of this struct -
allocate
Allocate a segment of sizelayout().byteSize()usingallocator -
allocateArray
Allocate an array of sizeelementCountusingallocator. The returned segment has sizeelementCount * layout().byteSize(). -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizelayout().byteSize() -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizeelementCount * layout().byteSize()
-