Class _GParamSpecTypeInfo

java.lang.Object
app.photofox.vipsffm.jextract._GParamSpecTypeInfo
Direct Known Subclasses:
GParamSpecTypeInfo

public class _GParamSpecTypeInfo extends Object
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 *);
}
  • Method Details

    • layout

      public static final GroupLayout layout()
      The layout of this struct
    • instance_size$layout

      public static final ValueLayout.OfShort 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

      public static short instance_size(MemorySegment struct)
      Getter for field:
      guint16 instance_size
      
    • instance_size

      public static void instance_size(MemorySegment struct, short fieldValue)
      Setter for field:
      guint16 instance_size
      
    • n_preallocs$layout

      public static final ValueLayout.OfShort 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

      public static short n_preallocs(MemorySegment struct)
      Getter for field:
      guint16 n_preallocs
      
    • n_preallocs

      public static void n_preallocs(MemorySegment struct, short fieldValue)
      Setter for field:
      guint16 n_preallocs
      
    • instance_init$layout

      public static final AddressLayout 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

      public static MemorySegment instance_init(MemorySegment struct)
      Getter for field:
      void (*instance_init)(GParamSpec *)
      
    • instance_init

      public static void instance_init(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      void (*instance_init)(GParamSpec *)
      
    • value_type$layout

      public static final ValueLayout.OfLong 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

      public static long value_type(MemorySegment struct)
      Getter for field:
      GType value_type
      
    • value_type

      public static void value_type(MemorySegment struct, long fieldValue)
      Setter for field:
      GType value_type
      
    • finalize$layout

      public static final AddressLayout finalize$layout()
      Layout for field:
      void (*finalize)(GParamSpec *)
      
    • finalize$offset

      public static final long finalize$offset()
      Offset for field:
      void (*finalize)(GParamSpec *)
      
    • finalize

      public static MemorySegment finalize(MemorySegment struct)
      Getter for field:
      void (*finalize)(GParamSpec *)
      
    • finalize

      public static void finalize(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      void (*finalize)(GParamSpec *)
      
    • value_set_default$layout

      public static final AddressLayout 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

      public static MemorySegment value_set_default(MemorySegment struct)
      Getter for field:
      void (*value_set_default)(GParamSpec *, GValue *)
      
    • value_set_default

      public static void value_set_default(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      void (*value_set_default)(GParamSpec *, GValue *)
      
    • value_validate$layout

      public static final AddressLayout 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

      public static MemorySegment value_validate(MemorySegment struct)
      Getter for field:
      gboolean (*value_validate)(GParamSpec *, GValue *)
      
    • value_validate

      public static void value_validate(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      gboolean (*value_validate)(GParamSpec *, GValue *)
      
    • values_cmp$layout

      public static final AddressLayout 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

      public static MemorySegment values_cmp(MemorySegment struct)
      Getter for field:
      gint (*values_cmp)(GParamSpec *, const GValue *, const GValue *)
      
    • values_cmp

      public static void values_cmp(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      gint (*values_cmp)(GParamSpec *, const GValue *, const GValue *)
      
    • asSlice

      public static MemorySegment asSlice(MemorySegment array, long index)
      Obtains a slice of arrayParam which selects the array element at index. The returned segment has address arrayParam.address() + index * layout().byteSize()
    • sizeof

      public static long sizeof()
      The size (in bytes) of this struct
    • allocate

      public static MemorySegment allocate(SegmentAllocator allocator)
      Allocate a segment of size layout().byteSize() using allocator
    • allocateArray

      public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator)
      Allocate an array of size elementCount using allocator. The returned segment has size elementCount * layout().byteSize().
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size layout().byteSize()
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size elementCount * layout().byteSize()