Class ecs_os_api_ainc_t

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

public final class ecs_os_api_ainc_t extends Object
typedef int32_t (*ecs_os_api_ainc_t)(int32_t *)
  • Method Details

    • descriptor

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

      public static MemorySegment allocate(ecs_os_api_ainc_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, MemorySegment value)
      Invoke the upcall stub funcPtr, with given parameters