Class _VipsConnection
java.lang.Object
app.photofox.vipsffm.jextract._VipsConnection
- Direct Known Subclasses:
VipsConnection
struct _VipsConnection {
VipsObject parent_object;
int descriptor;
int tracked_descriptor;
int close_descriptor;
char *filename;
}
-
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 int
close_descriptor
(MemorySegment struct) Getter for field:int close_descriptor
static void
close_descriptor
(MemorySegment struct, int fieldValue) Setter for field:int close_descriptor
static final ValueLayout.OfInt
Layout for field:int close_descriptor
static final long
Offset for field:int close_descriptor
static int
descriptor
(MemorySegment struct) Getter for field:int descriptor
static void
descriptor
(MemorySegment struct, int fieldValue) Setter for field:int descriptor
static final ValueLayout.OfInt
Layout for field:int descriptor
static final long
Offset for field:int descriptor
static MemorySegment
filename
(MemorySegment struct) Getter for field:char *filename
static void
filename
(MemorySegment struct, MemorySegment fieldValue) Setter for field:char *filename
static final AddressLayout
Layout for field:char *filename
static final long
Offset for field:char *filename
static final GroupLayout
layout()
The layout of this structstatic MemorySegment
parent_object
(MemorySegment struct) Getter for field:VipsObject parent_object
static void
parent_object
(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsObject parent_object
static final GroupLayout
Layout for field:VipsObject parent_object
static final long
Offset for field:VipsObject parent_object
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 int
tracked_descriptor
(MemorySegment struct) Getter for field:int tracked_descriptor
static void
tracked_descriptor
(MemorySegment struct, int fieldValue) Setter for field:int tracked_descriptor
static final ValueLayout.OfInt
Layout for field:int tracked_descriptor
static final long
Offset for field:int tracked_descriptor
-
Method Details
-
layout
The layout of this struct -
parent_object$layout
Layout for field:VipsObject parent_object
-
parent_object$offset
public static final long parent_object$offset()Offset for field:VipsObject parent_object
-
parent_object
Getter for field:VipsObject parent_object
-
parent_object
Setter for field:VipsObject parent_object
-
descriptor$layout
Layout for field:int descriptor
-
descriptor$offset
public static final long descriptor$offset()Offset for field:int descriptor
-
descriptor
Getter for field:int descriptor
-
descriptor
Setter for field:int descriptor
-
tracked_descriptor$layout
Layout for field:int tracked_descriptor
-
tracked_descriptor$offset
public static final long tracked_descriptor$offset()Offset for field:int tracked_descriptor
-
tracked_descriptor
Getter for field:int tracked_descriptor
-
tracked_descriptor
Setter for field:int tracked_descriptor
-
close_descriptor$layout
Layout for field:int close_descriptor
-
close_descriptor$offset
public static final long close_descriptor$offset()Offset for field:int close_descriptor
-
close_descriptor
Getter for field:int close_descriptor
-
close_descriptor
Setter for field:int close_descriptor
-
filename$layout
Layout for field:char *filename
-
filename$offset
public static final long filename$offset()Offset for field:char *filename
-
filename
Getter for field:char *filename
-
filename
Setter for field:char *filename
-
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()
-