Class _GParamSpecVariant

java.lang.Object
app.photofox.vipsffm.jextract._GParamSpecVariant
Direct Known Subclasses:
GParamSpecVariant

public class _GParamSpecVariant extends Object
struct _GParamSpecVariant {
    GParamSpec parent_instance;
    GVariantType *type;
    GVariant *default_value;
    gpointer padding[4];
}
  • Method Details

    • layout

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

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

      public static MemorySegment parent_instance(MemorySegment struct)
      Getter for field:
      GParamSpec parent_instance
      
    • parent_instance

      public static void parent_instance(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      GParamSpec parent_instance
      
    • type$layout

      public static final AddressLayout type$layout()
      Layout for field:
      GVariantType *type
      
    • type$offset

      public static final long type$offset()
      Offset for field:
      GVariantType *type
      
    • type

      public static MemorySegment type(MemorySegment struct)
      Getter for field:
      GVariantType *type
      
    • type

      public static void type(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      GVariantType *type
      
    • default_value$layout

      public static final AddressLayout default_value$layout()
      Layout for field:
      GVariant *default_value
      
    • default_value$offset

      public static final long default_value$offset()
      Offset for field:
      GVariant *default_value
      
    • default_value

      public static MemorySegment default_value(MemorySegment struct)
      Getter for field:
      GVariant *default_value
      
    • default_value

      public static void default_value(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      GVariant *default_value
      
    • padding$layout

      public static final SequenceLayout padding$layout()
      Layout for field:
      gpointer padding[4]
      
    • padding$offset

      public static final long padding$offset()
      Offset for field:
      gpointer padding[4]
      
    • padding

      public static MemorySegment padding(MemorySegment struct)
      Getter for field:
      gpointer padding[4]
      
    • padding

      public static void padding(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      gpointer padding[4]
      
    • padding$dimensions

      public static long[] padding$dimensions()
      Dimensions for array field:
      gpointer padding[4]
      
    • padding

      public static MemorySegment padding(MemorySegment struct, long index0)
      Indexed getter for field:
      gpointer padding[4]
      
    • padding

      public static void padding(MemorySegment struct, long index0, MemorySegment fieldValue)
      Indexed setter for field:
      gpointer padding[4]
      
    • 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()