Class _GEnumClass

java.lang.Object
app.photofox.vipsffm.jextract._GEnumClass
Direct Known Subclasses:
GEnumClass

public class _GEnumClass extends Object
struct _GEnumClass {
    GTypeClass g_type_class;
    gint minimum;
    gint maximum;
    guint n_values;
    GEnumValue *values;
}
  • Method Details

    • layout

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

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

      public static MemorySegment g_type_class(MemorySegment struct)
      Getter for field:
      GTypeClass g_type_class
      
    • g_type_class

      public static void g_type_class(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      GTypeClass g_type_class
      
    • minimum$layout

      public static final ValueLayout.OfInt minimum$layout()
      Layout for field:
      gint minimum
      
    • minimum$offset

      public static final long minimum$offset()
      Offset for field:
      gint minimum
      
    • minimum

      public static int minimum(MemorySegment struct)
      Getter for field:
      gint minimum
      
    • minimum

      public static void minimum(MemorySegment struct, int fieldValue)
      Setter for field:
      gint minimum
      
    • maximum$layout

      public static final ValueLayout.OfInt maximum$layout()
      Layout for field:
      gint maximum
      
    • maximum$offset

      public static final long maximum$offset()
      Offset for field:
      gint maximum
      
    • maximum

      public static int maximum(MemorySegment struct)
      Getter for field:
      gint maximum
      
    • maximum

      public static void maximum(MemorySegment struct, int fieldValue)
      Setter for field:
      gint maximum
      
    • n_values$layout

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

      public static int n_values(MemorySegment struct)
      Getter for field:
      guint n_values
      
    • n_values

      public static void n_values(MemorySegment struct, int fieldValue)
      Setter for field:
      guint n_values
      
    • values$layout

      public static final AddressLayout values$layout()
      Layout for field:
      GEnumValue *values
      
    • values$offset

      public static final long values$offset()
      Offset for field:
      GEnumValue *values
      
    • values

      public static MemorySegment values(MemorySegment struct)
      Getter for field:
      GEnumValue *values
      
    • values

      public static void values(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      GEnumValue *values
      
    • 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()