Class ecs_build_info_t

java.lang.Object
com.github.elebras1.flecs.ecs_build_info_t

public class ecs_build_info_t extends Object
struct ecs_build_info_t {
    const char *compiler;
    const char **addons;
    const char **flags;
    const char *version;
    int16_t version_major;
    int16_t version_minor;
    int16_t version_patch;
    _Bool debug;
    _Bool sanitize;
    _Bool perf_trace;
}
  • Method Details

    • layout

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

      public static final AddressLayout compiler$layout()
      Layout for field:
      const char *compiler
      
    • compiler$offset

      public static final long compiler$offset()
      Offset for field:
      const char *compiler
      
    • compiler

      public static MemorySegment compiler(MemorySegment struct)
      Getter for field:
      const char *compiler
      
    • compiler

      public static void compiler(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      const char *compiler
      
    • addons$layout

      public static final AddressLayout addons$layout()
      Layout for field:
      const char **addons
      
    • addons$offset

      public static final long addons$offset()
      Offset for field:
      const char **addons
      
    • addons

      public static MemorySegment addons(MemorySegment struct)
      Getter for field:
      const char **addons
      
    • addons

      public static void addons(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      const char **addons
      
    • flags$layout

      public static final AddressLayout flags$layout()
      Layout for field:
      const char **flags
      
    • flags$offset

      public static final long flags$offset()
      Offset for field:
      const char **flags
      
    • flags

      public static MemorySegment flags(MemorySegment struct)
      Getter for field:
      const char **flags
      
    • flags

      public static void flags(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      const char **flags
      
    • version$layout

      public static final AddressLayout version$layout()
      Layout for field:
      const char *version
      
    • version$offset

      public static final long version$offset()
      Offset for field:
      const char *version
      
    • version

      public static MemorySegment version(MemorySegment struct)
      Getter for field:
      const char *version
      
    • version

      public static void version(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      const char *version
      
    • version_major$layout

      public static final ValueLayout.OfShort version_major$layout()
      Layout for field:
      int16_t version_major
      
    • version_major$offset

      public static final long version_major$offset()
      Offset for field:
      int16_t version_major
      
    • version_major

      public static short version_major(MemorySegment struct)
      Getter for field:
      int16_t version_major
      
    • version_major

      public static void version_major(MemorySegment struct, short fieldValue)
      Setter for field:
      int16_t version_major
      
    • version_minor$layout

      public static final ValueLayout.OfShort version_minor$layout()
      Layout for field:
      int16_t version_minor
      
    • version_minor$offset

      public static final long version_minor$offset()
      Offset for field:
      int16_t version_minor
      
    • version_minor

      public static short version_minor(MemorySegment struct)
      Getter for field:
      int16_t version_minor
      
    • version_minor

      public static void version_minor(MemorySegment struct, short fieldValue)
      Setter for field:
      int16_t version_minor
      
    • version_patch$layout

      public static final ValueLayout.OfShort version_patch$layout()
      Layout for field:
      int16_t version_patch
      
    • version_patch$offset

      public static final long version_patch$offset()
      Offset for field:
      int16_t version_patch
      
    • version_patch

      public static short version_patch(MemorySegment struct)
      Getter for field:
      int16_t version_patch
      
    • version_patch

      public static void version_patch(MemorySegment struct, short fieldValue)
      Setter for field:
      int16_t version_patch
      
    • debug$layout

      public static final ValueLayout.OfBoolean debug$layout()
      Layout for field:
      _Bool debug
      
    • debug$offset

      public static final long debug$offset()
      Offset for field:
      _Bool debug
      
    • debug

      public static boolean debug(MemorySegment struct)
      Getter for field:
      _Bool debug
      
    • debug

      public static void debug(MemorySegment struct, boolean fieldValue)
      Setter for field:
      _Bool debug
      
    • sanitize$layout

      public static final ValueLayout.OfBoolean sanitize$layout()
      Layout for field:
      _Bool sanitize
      
    • sanitize$offset

      public static final long sanitize$offset()
      Offset for field:
      _Bool sanitize
      
    • sanitize

      public static boolean sanitize(MemorySegment struct)
      Getter for field:
      _Bool sanitize
      
    • sanitize

      public static void sanitize(MemorySegment struct, boolean fieldValue)
      Setter for field:
      _Bool sanitize
      
    • perf_trace$layout

      public static final ValueLayout.OfBoolean perf_trace$layout()
      Layout for field:
      _Bool perf_trace
      
    • perf_trace$offset

      public static final long perf_trace$offset()
      Offset for field:
      _Bool perf_trace
      
    • perf_trace

      public static boolean perf_trace(MemorySegment struct)
      Getter for field:
      _Bool perf_trace
      
    • perf_trace

      public static void perf_trace(MemorySegment struct, boolean fieldValue)
      Setter for field:
      _Bool perf_trace
      
    • 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()