Class TraceLogCallback
java.lang.Object
com.raylib.jextract.TraceLogCallback
typedef void (*TraceLogCallback)(int, const char *, struct __va_list_tag {
unsigned int gp_offset;
unsigned int fp_offset;
void *overflow_arg_area;
void *reg_save_area;
} *)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The function pointer signature, expressed as a functional interface -
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegment
allocate
(TraceLogCallback.Function fi, Arena arena) Allocates a new upcall stub, whose implementation is defined byfi
.static FunctionDescriptor
The descriptor of this function pointerstatic void
invoke
(MemorySegment funcPtr, int logLevel, MemorySegment text, MemorySegment args) Invoke the upcall stubfuncPtr
, with given parameters
-
Method Details
-
descriptor
The descriptor of this function pointer -
allocate
Allocates a new upcall stub, whose implementation is defined byfi
. The lifetime of the returned segment is managed byarena
-
invoke
public static void invoke(MemorySegment funcPtr, int logLevel, MemorySegment text, MemorySegment args) Invoke the upcall stubfuncPtr
, with given parameters
-