Class ecs_build_info_t
java.lang.Object
com.github.elebras1.flecs.ecs_build_info_t
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 Summary
Modifier and TypeMethodDescriptionstatic MemorySegmentaddons(MemorySegment struct) Getter for field:const char **addonsstatic voidaddons(MemorySegment struct, MemorySegment fieldValue) Setter for field:const char **addonsstatic final AddressLayoutLayout for field:const char **addonsstatic final longOffset for field:const char **addonsstatic MemorySegmentallocate(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()usingallocatorstatic MemorySegmentallocateArray(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCountusingallocator.static MemorySegmentasSlice(MemorySegment array, long index) Obtains a slice ofarrayParamwhich selects the array element atindex.static MemorySegmentcompiler(MemorySegment struct) Getter for field:const char *compilerstatic voidcompiler(MemorySegment struct, MemorySegment fieldValue) Setter for field:const char *compilerstatic final AddressLayoutLayout for field:const char *compilerstatic final longOffset for field:const char *compilerstatic booleandebug(MemorySegment struct) Getter for field:_Bool debugstatic voiddebug(MemorySegment struct, boolean fieldValue) Setter for field:_Bool debugstatic final ValueLayout.OfBooleanLayout for field:_Bool debugstatic final longOffset for field:_Bool debugstatic MemorySegmentflags(MemorySegment struct) Getter for field:const char **flagsstatic voidflags(MemorySegment struct, MemorySegment fieldValue) Setter for field:const char **flagsstatic final AddressLayoutLayout for field:const char **flagsstatic final longOffset for field:const char **flagsstatic final GroupLayoutlayout()The layout of this structstatic booleanperf_trace(MemorySegment struct) Getter for field:_Bool perf_tracestatic voidperf_trace(MemorySegment struct, boolean fieldValue) Setter for field:_Bool perf_tracestatic final ValueLayout.OfBooleanLayout for field:_Bool perf_tracestatic final longOffset for field:_Bool perf_tracestatic MemorySegmentreinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static MemorySegmentreinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static booleansanitize(MemorySegment struct) Getter for field:_Bool sanitizestatic voidsanitize(MemorySegment struct, boolean fieldValue) Setter for field:_Bool sanitizestatic final ValueLayout.OfBooleanLayout for field:_Bool sanitizestatic final longOffset for field:_Bool sanitizestatic longsizeof()The size (in bytes) of this structstatic MemorySegmentversion(MemorySegment struct) Getter for field:const char *versionstatic voidversion(MemorySegment struct, MemorySegment fieldValue) Setter for field:const char *versionstatic shortversion_major(MemorySegment struct) Getter for field:int16_t version_majorstatic voidversion_major(MemorySegment struct, short fieldValue) Setter for field:int16_t version_majorstatic final ValueLayout.OfShortLayout for field:int16_t version_majorstatic final longOffset for field:int16_t version_majorstatic shortversion_minor(MemorySegment struct) Getter for field:int16_t version_minorstatic voidversion_minor(MemorySegment struct, short fieldValue) Setter for field:int16_t version_minorstatic final ValueLayout.OfShortLayout for field:int16_t version_minorstatic final longOffset for field:int16_t version_minorstatic shortversion_patch(MemorySegment struct) Getter for field:int16_t version_patchstatic voidversion_patch(MemorySegment struct, short fieldValue) Setter for field:int16_t version_patchstatic final ValueLayout.OfShortLayout for field:int16_t version_patchstatic final longOffset for field:int16_t version_patchstatic final AddressLayoutLayout for field:const char *versionstatic final longOffset for field:const char *version
-
Method Details
-
layout
The layout of this struct -
compiler$layout
Layout for field:const char *compiler -
compiler$offset
public static final long compiler$offset()Offset for field:const char *compiler -
compiler
Getter for field:const char *compiler -
compiler
Setter for field:const char *compiler -
addons$layout
Layout for field:const char **addons -
addons$offset
public static final long addons$offset()Offset for field:const char **addons -
addons
Getter for field:const char **addons -
addons
Setter for field:const char **addons -
flags$layout
Layout for field:const char **flags -
flags$offset
public static final long flags$offset()Offset for field:const char **flags -
flags
Getter for field:const char **flags -
flags
Setter for field:const char **flags -
version$layout
Layout for field:const char *version -
version$offset
public static final long version$offset()Offset for field:const char *version -
version
Getter for field:const char *version -
version
Setter for field:const char *version -
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
Getter for field:int16_t version_major -
version_major
Setter for field:int16_t version_major -
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
Getter for field:int16_t version_minor -
version_minor
Setter for field:int16_t version_minor -
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
Getter for field:int16_t version_patch -
version_patch
Setter for field:int16_t version_patch -
debug$layout
Layout for field:_Bool debug -
debug$offset
public static final long debug$offset()Offset for field:_Bool debug -
debug
Getter for field:_Bool debug -
debug
Setter for field:_Bool debug -
sanitize$layout
Layout for field:_Bool sanitize -
sanitize$offset
public static final long sanitize$offset()Offset for field:_Bool sanitize -
sanitize
Getter for field:_Bool sanitize -
sanitize
Setter for field:_Bool sanitize -
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
Getter for field:_Bool perf_trace -
perf_trace
Setter for field:_Bool perf_trace -
asSlice
Obtains a slice ofarrayParamwhich selects the array element atindex. The returned segment has addressarrayParam.address() + index * layout().byteSize() -
sizeof
public static long sizeof()The size (in bytes) of this struct -
allocate
Allocate a segment of sizelayout().byteSize()usingallocator -
allocateArray
Allocate an array of sizeelementCountusingallocator. The returned segment has sizeelementCount * layout().byteSize(). -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizelayout().byteSize() -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizeelementCount * layout().byteSize()
-