Record Class GLFWallocator

java.lang.Object
java.lang.Record
club.doki7.glfw.datatype.GLFWallocator
All Implemented Interfaces:
IPointer, IGLFWallocator

@ValueBasedCandidate @UnsafeConstructor public record GLFWallocator(@NotNull MemorySegment segment) extends Record implements IGLFWallocator
Since:
Added in version 3.4.
  • Field Details

    • LAYOUT

      public static final StructLayout LAYOUT
    • BYTES

      public static final long BYTES
    • PATH$allocate

      public static final MemoryLayout.PathElement PATH$allocate
    • PATH$reallocate

      public static final MemoryLayout.PathElement PATH$reallocate
    • PATH$deallocate

      public static final MemoryLayout.PathElement PATH$deallocate
    • PATH$user

      public static final MemoryLayout.PathElement PATH$user
    • LAYOUT$allocate

      public static final AddressLayout LAYOUT$allocate
    • LAYOUT$reallocate

      public static final AddressLayout LAYOUT$reallocate
    • LAYOUT$deallocate

      public static final AddressLayout LAYOUT$deallocate
    • LAYOUT$user

      public static final AddressLayout LAYOUT$user
    • SIZE$allocate

      public static final long SIZE$allocate
    • SIZE$reallocate

      public static final long SIZE$reallocate
    • SIZE$deallocate

      public static final long SIZE$deallocate
    • SIZE$user

      public static final long SIZE$user
    • OFFSET$allocate

      public static final long OFFSET$allocate
    • OFFSET$reallocate

      public static final long OFFSET$reallocate
    • OFFSET$deallocate

      public static final long OFFSET$deallocate
    • OFFSET$user

      public static final long OFFSET$user
  • Constructor Details

    • GLFWallocator

      public GLFWallocator(@NotNull @NotNull MemorySegment segment)
      Creates an instance of a GLFWallocator record class.
      Parameters:
      segment - the value for the segment record component
  • Method Details