Package app.photofox.vipsffm.jextract
Class _GParamSpecTypeInfo
java.lang.Object
app.photofox.vipsffm.jextract._GParamSpecTypeInfo
- Direct Known Subclasses:
GParamSpecTypeInfo
struct _GParamSpecTypeInfo {
guint16 instance_size;
guint16 n_preallocs;
void (*instance_init)(GParamSpec *);
GType value_type;
void (*finalize)(GParamSpec *);
void (*value_set_default)(GParamSpec *, GValue *);
gboolean (*value_validate)(GParamSpec *, GValue *);
gint (*values_cmp)(GParamSpec *, const GValue *, const GValue *);
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classvoid (*finalize)(GParamSpec *)static classvoid (*instance_init)(GParamSpec *)static classvoid (*value_set_default)(GParamSpec *, GValue *)static classgboolean (*value_validate)(GParamSpec *, GValue *)static classgint (*values_cmp)(GParamSpec *, const GValue *, const GValue *) -
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 MemorySegmentfinalize(MemorySegment struct) Getter for field:void (*finalize)(GParamSpec *)static voidfinalize(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*finalize)(GParamSpec *)static final AddressLayoutLayout for field:void (*finalize)(GParamSpec *)static final longOffset for field:void (*finalize)(GParamSpec *)static MemorySegmentinstance_init(MemorySegment struct) Getter for field:void (*instance_init)(GParamSpec *)static voidinstance_init(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*instance_init)(GParamSpec *)static final AddressLayoutLayout for field:void (*instance_init)(GParamSpec *)static final longOffset for field:void (*instance_init)(GParamSpec *)static shortinstance_size(MemorySegment struct) Getter for field:guint16 instance_sizestatic voidinstance_size(MemorySegment struct, short fieldValue) Setter for field:guint16 instance_sizestatic final ValueLayout.OfShortLayout for field:guint16 instance_sizestatic final longOffset for field:guint16 instance_sizestatic final GroupLayoutlayout()The layout of this structstatic shortn_preallocs(MemorySegment struct) Getter for field:guint16 n_preallocsstatic voidn_preallocs(MemorySegment struct, short fieldValue) Setter for field:guint16 n_preallocsstatic final ValueLayout.OfShortLayout for field:guint16 n_preallocsstatic final longOffset for field:guint16 n_preallocsstatic 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 MemorySegmentvalue_set_default(MemorySegment struct) Getter for field:void (*value_set_default)(GParamSpec *, GValue *)static voidvalue_set_default(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*value_set_default)(GParamSpec *, GValue *)static final AddressLayoutLayout for field:void (*value_set_default)(GParamSpec *, GValue *)static final longOffset for field:void (*value_set_default)(GParamSpec *, GValue *)static longvalue_type(MemorySegment struct) Getter for field:GType value_typestatic voidvalue_type(MemorySegment struct, long fieldValue) Setter for field:GType value_typestatic final ValueLayout.OfLongLayout for field:GType value_typestatic final longOffset for field:GType value_typestatic MemorySegmentvalue_validate(MemorySegment struct) Getter for field:gboolean (*value_validate)(GParamSpec *, GValue *)static voidvalue_validate(MemorySegment struct, MemorySegment fieldValue) Setter for field:gboolean (*value_validate)(GParamSpec *, GValue *)static final AddressLayoutLayout for field:gboolean (*value_validate)(GParamSpec *, GValue *)static final longOffset for field:gboolean (*value_validate)(GParamSpec *, GValue *)static MemorySegmentvalues_cmp(MemorySegment struct) Getter for field:gint (*values_cmp)(GParamSpec *, const GValue *, const GValue *)static voidvalues_cmp(MemorySegment struct, MemorySegment fieldValue) Setter for field:gint (*values_cmp)(GParamSpec *, const GValue *, const GValue *)static final AddressLayoutLayout for field:gint (*values_cmp)(GParamSpec *, const GValue *, const GValue *)static final longOffset for field:gint (*values_cmp)(GParamSpec *, const GValue *, const GValue *)
-
Method Details
-
layout
The layout of this struct -
instance_size$layout
Layout for field:guint16 instance_size -
instance_size$offset
public static final long instance_size$offset()Offset for field:guint16 instance_size -
instance_size
Getter for field:guint16 instance_size -
instance_size
Setter for field:guint16 instance_size -
n_preallocs$layout
Layout for field:guint16 n_preallocs -
n_preallocs$offset
public static final long n_preallocs$offset()Offset for field:guint16 n_preallocs -
n_preallocs
Getter for field:guint16 n_preallocs -
n_preallocs
Setter for field:guint16 n_preallocs -
instance_init$layout
Layout for field:void (*instance_init)(GParamSpec *) -
instance_init$offset
public static final long instance_init$offset()Offset for field:void (*instance_init)(GParamSpec *) -
instance_init
Getter for field:void (*instance_init)(GParamSpec *) -
instance_init
Setter for field:void (*instance_init)(GParamSpec *) -
value_type$layout
Layout for field:GType value_type -
value_type$offset
public static final long value_type$offset()Offset for field:GType value_type -
value_type
Getter for field:GType value_type -
value_type
Setter for field:GType value_type -
finalize$layout
Layout for field:void (*finalize)(GParamSpec *) -
finalize$offset
public static final long finalize$offset()Offset for field:void (*finalize)(GParamSpec *) -
finalize
Getter for field:void (*finalize)(GParamSpec *) -
finalize
Setter for field:void (*finalize)(GParamSpec *) -
value_set_default$layout
Layout for field:void (*value_set_default)(GParamSpec *, GValue *) -
value_set_default$offset
public static final long value_set_default$offset()Offset for field:void (*value_set_default)(GParamSpec *, GValue *) -
value_set_default
Getter for field:void (*value_set_default)(GParamSpec *, GValue *) -
value_set_default
Setter for field:void (*value_set_default)(GParamSpec *, GValue *) -
value_validate$layout
Layout for field:gboolean (*value_validate)(GParamSpec *, GValue *) -
value_validate$offset
public static final long value_validate$offset()Offset for field:gboolean (*value_validate)(GParamSpec *, GValue *) -
value_validate
Getter for field:gboolean (*value_validate)(GParamSpec *, GValue *) -
value_validate
Setter for field:gboolean (*value_validate)(GParamSpec *, GValue *) -
values_cmp$layout
Layout for field:gint (*values_cmp)(GParamSpec *, const GValue *, const GValue *) -
values_cmp$offset
public static final long values_cmp$offset()Offset for field:gint (*values_cmp)(GParamSpec *, const GValue *, const GValue *) -
values_cmp
Getter for field:gint (*values_cmp)(GParamSpec *, const GValue *, const GValue *) -
values_cmp
Setter for field:gint (*values_cmp)(GParamSpec *, const GValue *, const GValue *) -
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()
-