Class _GValue.data
java.lang.Object
app.photofox.vipsffm.jextract._GValue.data
-
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 final GroupLayoutlayout()The layout of this unionstatic 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 unionstatic doublev_double(MemorySegment union) Getter for field:gdouble v_doublestatic voidv_double(MemorySegment union, double fieldValue) Setter for field:gdouble v_doublestatic final ValueLayout.OfDoubleLayout for field:gdouble v_doublestatic final longOffset for field:gdouble v_doublestatic floatv_float(MemorySegment union) Getter for field:gfloat v_floatstatic voidv_float(MemorySegment union, float fieldValue) Setter for field:gfloat v_floatstatic final ValueLayout.OfFloatLayout for field:gfloat v_floatstatic final longOffset for field:gfloat v_floatstatic intv_int(MemorySegment union) Getter for field:gint v_intstatic voidv_int(MemorySegment union, int fieldValue) Setter for field:gint v_intstatic final ValueLayout.OfIntLayout for field:gint v_intstatic final longOffset for field:gint v_intstatic longv_int64(MemorySegment union) Getter for field:gint64 v_int64static voidv_int64(MemorySegment union, long fieldValue) Setter for field:gint64 v_int64static final ValueLayout.OfLongLayout for field:gint64 v_int64static final longOffset for field:gint64 v_int64static longv_long(MemorySegment union) Getter for field:glong v_longstatic voidv_long(MemorySegment union, long fieldValue) Setter for field:glong v_longstatic final ValueLayout.OfLongLayout for field:glong v_longstatic final longOffset for field:glong v_longstatic MemorySegmentv_pointer(MemorySegment union) Getter for field:gpointer v_pointerstatic voidv_pointer(MemorySegment union, MemorySegment fieldValue) Setter for field:gpointer v_pointerstatic final AddressLayoutLayout for field:gpointer v_pointerstatic final longOffset for field:gpointer v_pointerstatic intv_uint(MemorySegment union) Getter for field:guint v_uintstatic voidv_uint(MemorySegment union, int fieldValue) Setter for field:guint v_uintstatic final ValueLayout.OfIntLayout for field:guint v_uintstatic final longOffset for field:guint v_uintstatic longv_uint64(MemorySegment union) Getter for field:guint64 v_uint64static voidv_uint64(MemorySegment union, long fieldValue) Setter for field:guint64 v_uint64static final ValueLayout.OfLongLayout for field:guint64 v_uint64static final longOffset for field:guint64 v_uint64static longv_ulong(MemorySegment union) Getter for field:gulong v_ulongstatic voidv_ulong(MemorySegment union, long fieldValue) Setter for field:gulong v_ulongstatic final ValueLayout.OfLongLayout for field:gulong v_ulongstatic final longOffset 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 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 union -
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()
-