Class on_exit$__func

java.lang.Object
com.github.elebras1.flecs.on_exit$__func

public final class on_exit$__func extends Object
void (*__func)(int, void *)
  • Method Details

    • descriptor

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

      public static MemorySegment allocate(on_exit$__func.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, int _x0, MemorySegment _x1)
      Invoke the upcall stub funcPtr, with given parameters