Class _GEnumClass
java.lang.Object
app.photofox.vipsffm.jextract._GEnumClass
- Direct Known Subclasses:
GEnumClass
struct _GEnumClass {
GTypeClass g_type_class;
gint minimum;
gint maximum;
guint n_values;
GEnumValue *values;
}
-
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
g_type_class
(MemorySegment struct) Getter for field:GTypeClass g_type_class
static void
g_type_class
(MemorySegment struct, MemorySegment fieldValue) Setter for field:GTypeClass g_type_class
static final GroupLayout
Layout for field:GTypeClass g_type_class
static final long
Offset for field:GTypeClass g_type_class
static final GroupLayout
layout()
The layout of this structstatic int
maximum
(MemorySegment struct) Getter for field:gint maximum
static void
maximum
(MemorySegment struct, int fieldValue) Setter for field:gint maximum
static final ValueLayout.OfInt
Layout for field:gint maximum
static final long
Offset for field:gint maximum
static int
minimum
(MemorySegment struct) Getter for field:gint minimum
static void
minimum
(MemorySegment struct, int fieldValue) Setter for field:gint minimum
static final ValueLayout.OfInt
Layout for field:gint minimum
static final long
Offset for field:gint minimum
static int
n_values
(MemorySegment struct) Getter for field:guint n_values
static void
n_values
(MemorySegment struct, int fieldValue) Setter for field:guint n_values
static final ValueLayout.OfInt
Layout for field:guint n_values
static final long
Offset for field:guint n_values
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 MemorySegment
values
(MemorySegment struct) Getter for field:GEnumValue *values
static void
values
(MemorySegment struct, MemorySegment fieldValue) Setter for field:GEnumValue *values
static final AddressLayout
Layout for field:GEnumValue *values
static final long
Offset for field:GEnumValue *values
-
Method Details
-
layout
The layout of this struct -
g_type_class$layout
Layout for field:GTypeClass g_type_class
-
g_type_class$offset
public static final long g_type_class$offset()Offset for field:GTypeClass g_type_class
-
g_type_class
Getter for field:GTypeClass g_type_class
-
g_type_class
Setter for field:GTypeClass g_type_class
-
minimum$layout
Layout for field:gint minimum
-
minimum$offset
public static final long minimum$offset()Offset for field:gint minimum
-
minimum
Getter for field:gint minimum
-
minimum
Setter for field:gint minimum
-
maximum$layout
Layout for field:gint maximum
-
maximum$offset
public static final long maximum$offset()Offset for field:gint maximum
-
maximum
Getter for field:gint maximum
-
maximum
Setter for field:gint maximum
-
n_values$layout
Layout for field:guint n_values
-
n_values$offset
public static final long n_values$offset()Offset for field:guint n_values
-
n_values
Getter for field:guint n_values
-
n_values
Setter for field:guint n_values
-
values$layout
Layout for field:GEnumValue *values
-
values$offset
public static final long values$offset()Offset for field:GEnumValue *values
-
values
Getter for field:GEnumValue *values
-
values
Setter for field:GEnumValue *values
-
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()
-