Class _VipsArea
java.lang.Object
app.photofox.vipsffm.jextract._VipsArea
-
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegment
allocate
(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()
usingallocator
static MemorySegment
allocateArray
(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCount
usingallocator
.static MemorySegment
asSlice
(MemorySegment array, long index) Obtains a slice ofarrayParam
which selects the array element atindex
.static MemorySegment
client
(MemorySegment struct) Getter for field:void *client
static void
client
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void *client
static final AddressLayout
Layout for field:void *client
static final long
Offset for field:void *client
static int
count
(MemorySegment struct) Getter for field:int count
static void
count
(MemorySegment struct, int fieldValue) Setter for field:int count
static final ValueLayout.OfInt
Layout for field:int count
static final long
Offset for field:int count
static MemorySegment
data
(MemorySegment struct) Getter for field:void *data
static void
data
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void *data
static final AddressLayout
Layout for field:void *data
static final long
Offset for field:void *data
static MemorySegment
free_fn
(MemorySegment struct) Getter for field:VipsCallbackFn free_fn
static void
free_fn
(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsCallbackFn free_fn
static final AddressLayout
Layout for field:VipsCallbackFn free_fn
static final long
Offset for field:VipsCallbackFn free_fn
static final GroupLayout
layout()
The layout of this structstatic long
length
(MemorySegment struct) Getter for field:size_t length
static void
length
(MemorySegment struct, long fieldValue) Setter for field:size_t length
static final ValueLayout.OfLong
Layout for field:size_t length
static final long
Offset for field:size_t length
static MemorySegment
lock
(MemorySegment struct) Getter for field:GMutex *lock
static void
lock
(MemorySegment struct, MemorySegment fieldValue) Setter for field:GMutex *lock
static final AddressLayout
Layout for field:GMutex *lock
static final long
Offset for field:GMutex *lock
static int
n
(MemorySegment struct) Getter for field:int n
static void
n
(MemorySegment struct, int fieldValue) Setter for field:int n
static final ValueLayout.OfInt
n$layout()
Layout for field:int n
static final long
n$offset()
Offset for field:int n
static MemorySegment
reinterpret
(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any).static MemorySegment
reinterpret
(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any).static long
sizeof()
The size (in bytes) of this structstatic long
sizeof_type
(MemorySegment struct) Getter for field:size_t sizeof_type
static void
sizeof_type
(MemorySegment struct, long fieldValue) Setter for field:size_t sizeof_type
static final ValueLayout.OfLong
Layout for field:size_t sizeof_type
static final long
Offset for field:size_t sizeof_type
static long
type
(MemorySegment struct) Getter for field:GType type
static void
type
(MemorySegment struct, long fieldValue) Setter for field:GType type
static final ValueLayout.OfLong
Layout for field:GType type
static final long
Offset 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 ofarrayParam
which 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 sizeelementCount
usingallocator
. The returned segment has sizeelementCount * layout().byteSize()
. -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any). The returned segment has sizelayout().byteSize()
-
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any). The returned segment has sizeelementCount * layout().byteSize()
-