Class ecs_xtor_t

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

public final class ecs_xtor_t extends Object
typedef void (*ecs_xtor_t)(void *, int32_t, const ecs_type_info_t *)
  • Method Details

    • descriptor

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

      public static MemorySegment allocate(ecs_xtor_t.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 void invoke(MemorySegment funcPtr, MemorySegment ptr, int count, MemorySegment type_info)
      Invoke the upcall stub funcPtr, with given parameters