Class _GValue.data
java.lang.Object
app.photofox.vipsffm.jextract._GValue.data
-
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 final GroupLayout
layout()
The layout of this unionstatic 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 unionstatic double
v_double
(MemorySegment union) Getter for field:gdouble v_double
static void
v_double
(MemorySegment union, double fieldValue) Setter for field:gdouble v_double
static final ValueLayout.OfDouble
Layout for field:gdouble v_double
static final long
Offset for field:gdouble v_double
static float
v_float
(MemorySegment union) Getter for field:gfloat v_float
static void
v_float
(MemorySegment union, float fieldValue) Setter for field:gfloat v_float
static final ValueLayout.OfFloat
Layout for field:gfloat v_float
static final long
Offset for field:gfloat v_float
static int
v_int
(MemorySegment union) Getter for field:gint v_int
static void
v_int
(MemorySegment union, int fieldValue) Setter for field:gint v_int
static final ValueLayout.OfInt
Layout for field:gint v_int
static final long
Offset for field:gint v_int
static long
v_int64
(MemorySegment union) Getter for field:gint64 v_int64
static void
v_int64
(MemorySegment union, long fieldValue) Setter for field:gint64 v_int64
static final ValueLayout.OfLong
Layout for field:gint64 v_int64
static final long
Offset for field:gint64 v_int64
static long
v_long
(MemorySegment union) Getter for field:glong v_long
static void
v_long
(MemorySegment union, long fieldValue) Setter for field:glong v_long
static final ValueLayout.OfLong
Layout for field:glong v_long
static final long
Offset for field:glong v_long
static MemorySegment
v_pointer
(MemorySegment union) Getter for field:gpointer v_pointer
static void
v_pointer
(MemorySegment union, MemorySegment fieldValue) Setter for field:gpointer v_pointer
static final AddressLayout
Layout for field:gpointer v_pointer
static final long
Offset for field:gpointer v_pointer
static int
v_uint
(MemorySegment union) Getter for field:guint v_uint
static void
v_uint
(MemorySegment union, int fieldValue) Setter for field:guint v_uint
static final ValueLayout.OfInt
Layout for field:guint v_uint
static final long
Offset for field:guint v_uint
static long
v_uint64
(MemorySegment union) Getter for field:guint64 v_uint64
static void
v_uint64
(MemorySegment union, long fieldValue) Setter for field:guint64 v_uint64
static final ValueLayout.OfLong
Layout for field:guint64 v_uint64
static final long
Offset for field:guint64 v_uint64
static long
v_ulong
(MemorySegment union) Getter for field:gulong v_ulong
static void
v_ulong
(MemorySegment union, long fieldValue) Setter for field:gulong v_ulong
static final ValueLayout.OfLong
Layout for field:gulong v_ulong
static final long
Offset for field:gulong v_ulong
-
Method Details
-
layout
The layout of this union -
v_int$layout
Layout for field:gint v_int
-
v_int$offset
public static final long v_int$offset()Offset for field:gint v_int
-
v_int
Getter for field:gint v_int
-
v_int
Setter for field:gint v_int
-
v_uint$layout
Layout for field:guint v_uint
-
v_uint$offset
public static final long v_uint$offset()Offset for field:guint v_uint
-
v_uint
Getter for field:guint v_uint
-
v_uint
Setter for field:guint v_uint
-
v_long$layout
Layout for field:glong v_long
-
v_long$offset
public static final long v_long$offset()Offset for field:glong v_long
-
v_long
Getter for field:glong v_long
-
v_long
Setter for field:glong v_long
-
v_ulong$layout
Layout for field:gulong v_ulong
-
v_ulong$offset
public static final long v_ulong$offset()Offset for field:gulong v_ulong
-
v_ulong
Getter for field:gulong v_ulong
-
v_ulong
Setter for field:gulong v_ulong
-
v_int64$layout
Layout for field:gint64 v_int64
-
v_int64$offset
public static final long v_int64$offset()Offset for field:gint64 v_int64
-
v_int64
Getter for field:gint64 v_int64
-
v_int64
Setter for field:gint64 v_int64
-
v_uint64$layout
Layout for field:guint64 v_uint64
-
v_uint64$offset
public static final long v_uint64$offset()Offset for field:guint64 v_uint64
-
v_uint64
Getter for field:guint64 v_uint64
-
v_uint64
Setter for field:guint64 v_uint64
-
v_float$layout
Layout for field:gfloat v_float
-
v_float$offset
public static final long v_float$offset()Offset for field:gfloat v_float
-
v_float
Getter for field:gfloat v_float
-
v_float
Setter for field:gfloat v_float
-
v_double$layout
Layout for field:gdouble v_double
-
v_double$offset
public static final long v_double$offset()Offset for field:gdouble v_double
-
v_double
Getter for field:gdouble v_double
-
v_double
Setter for field:gdouble v_double
-
v_pointer$layout
Layout for field:gpointer v_pointer
-
v_pointer$offset
public static final long v_pointer$offset()Offset for field:gpointer v_pointer
-
v_pointer
Getter for field:gpointer v_pointer
-
v_pointer
Setter for field:gpointer v_pointer
-
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 union -
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()
-