Package dev.atsushieno.panama.libremidi
Class libremidi_midi_configuration.libremidi_midi_configuration_on_error.callback
java.lang.Object
dev.atsushieno.panama.libremidi.libremidi_midi_configuration.libremidi_midi_configuration_on_error.callback
- Enclosing class:
libremidi_midi_configuration.libremidi_midi_configuration_on_error
public static class libremidi_midi_configuration.libremidi_midi_configuration_on_error.callback
extends Object
void (*callback)(void *, const char *, size_t, const void *)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The function pointer signature, expressed as a functional interface -
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegment
allocate
(libremidi_midi_configuration.libremidi_midi_configuration_on_error.callback.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, MemorySegment _x0, MemorySegment _x1, long _x2, MemorySegment _x3) Invoke the upcall stubfuncPtr
, with given parameters
-
Method Details
-
descriptor
The descriptor of this function pointer -
allocate
public static MemorySegment allocate(libremidi_midi_configuration.libremidi_midi_configuration_on_error.callback.Function fi, Arena arena) 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, MemorySegment _x0, MemorySegment _x1, long _x2, MemorySegment _x3) Invoke the upcall stubfuncPtr
, with given parameters
-