Class EcsOpaque.count

java.lang.Object
com.github.elebras1.flecs.EcsOpaque.count
Enclosing class:
EcsOpaque

public static final class EcsOpaque.count extends Object
size_t (*count)(const void *)
  • Method Details

    • descriptor

      public static FunctionDescriptor descriptor()
      The descriptor of this function pointer
    • allocate

      public static MemorySegment allocate(EcsOpaque.count.Function fi, Arena arena)
      Allocates a new upcall stub, whose implementation is defined by fi. The lifetime of the returned segment is managed by arena
    • invoke

      public static long invoke(MemorySegment funcPtr, MemorySegment _x0)
      Invoke the upcall stub funcPtr, with given parameters