Class ecs_order_by_action_t

java.lang.Object
io.github.elebras1.flecs.ecs_order_by_action_t

public final class ecs_order_by_action_t extends Object
typedef int (*ecs_order_by_action_t)(ecs_entity_t, const void *, ecs_entity_t, const void *)
  • Method Details

    • descriptor

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

      public static MemorySegment allocate(ecs_order_by_action_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 int invoke(MemorySegment funcPtr, long e1, long ptr1, long e2, long ptr2)
      Invoke the upcall stub funcPtr, with given parameters