Package app.photofox.vipsffm.jextract
Class _GParamSpecString
java.lang.Object
app.photofox.vipsffm.jextract._GParamSpecString
- Direct Known Subclasses:
GParamSpecString
struct _GParamSpecString {
GParamSpec parent_instance;
gchar *default_value;
gchar *cset_first;
gchar *cset_nth;
gchar substitutor;
guint null_fold_if_empty : 1;
guint ensure_non_null : 1;
}
-
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 MemorySegmentcset_first(MemorySegment struct) Getter for field:gchar *cset_firststatic voidcset_first(MemorySegment struct, MemorySegment fieldValue) Setter for field:gchar *cset_firststatic final AddressLayoutLayout for field:gchar *cset_firststatic final longOffset for field:gchar *cset_firststatic MemorySegmentcset_nth(MemorySegment struct) Getter for field:gchar *cset_nthstatic voidcset_nth(MemorySegment struct, MemorySegment fieldValue) Setter for field:gchar *cset_nthstatic final AddressLayoutLayout for field:gchar *cset_nthstatic final longOffset for field:gchar *cset_nthstatic MemorySegmentdefault_value(MemorySegment struct) Getter for field:gchar *default_valuestatic voiddefault_value(MemorySegment struct, MemorySegment fieldValue) Setter for field:gchar *default_valuestatic final AddressLayoutLayout for field:gchar *default_valuestatic final longOffset for field:gchar *default_valuestatic final GroupLayoutlayout()The layout of this structstatic MemorySegmentparent_instance(MemorySegment struct) Getter for field:GParamSpec parent_instancestatic voidparent_instance(MemorySegment struct, MemorySegment fieldValue) Setter for field:GParamSpec parent_instancestatic final GroupLayoutLayout for field:GParamSpec parent_instancestatic final longOffset for field:GParamSpec parent_instancestatic 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 structstatic bytesubstitutor(MemorySegment struct) Getter for field:gchar substitutorstatic voidsubstitutor(MemorySegment struct, byte fieldValue) Setter for field:gchar substitutorstatic final ValueLayout.OfByteLayout for field:gchar substitutorstatic final longOffset for field:gchar substitutor
-
Method Details
-
layout
The layout of this struct -
parent_instance$layout
Layout for field:GParamSpec parent_instance -
parent_instance$offset
public static final long parent_instance$offset()Offset for field:GParamSpec parent_instance -
parent_instance
Getter for field:GParamSpec parent_instance -
parent_instance
Setter for field:GParamSpec parent_instance -
default_value$layout
Layout for field:gchar *default_value -
default_value$offset
public static final long default_value$offset()Offset for field:gchar *default_value -
default_value
Getter for field:gchar *default_value -
default_value
Setter for field:gchar *default_value -
cset_first$layout
Layout for field:gchar *cset_first -
cset_first$offset
public static final long cset_first$offset()Offset for field:gchar *cset_first -
cset_first
Getter for field:gchar *cset_first -
cset_first
Setter for field:gchar *cset_first -
cset_nth$layout
Layout for field:gchar *cset_nth -
cset_nth$offset
public static final long cset_nth$offset()Offset for field:gchar *cset_nth -
cset_nth
Getter for field:gchar *cset_nth -
cset_nth
Setter for field:gchar *cset_nth -
substitutor$layout
Layout for field:gchar substitutor -
substitutor$offset
public static final long substitutor$offset()Offset for field:gchar substitutor -
substitutor
Getter for field:gchar substitutor -
substitutor
Setter for field:gchar substitutor -
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 struct -
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()
-