Package dev.atsushieno.panama.libremidi
Class libremidi_observer_configuration.libremidi_observer_configuration_output_added.callback
java.lang.Object
dev.atsushieno.panama.libremidi.libremidi_observer_configuration.libremidi_observer_configuration_output_added.callback
public static class libremidi_observer_configuration.libremidi_observer_configuration_output_added.callback
extends Object
void (*callback)(void *, const libremidi_midi_out_port *)
-
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_observer_configuration.libremidi_observer_configuration_output_added.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) Invoke the upcall stubfuncPtr
, with given parameters
-
Method Details
-
descriptor
The descriptor of this function pointer -
allocate
public static MemorySegment allocate(libremidi_observer_configuration.libremidi_observer_configuration_output_added.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
Invoke the upcall stubfuncPtr
, with given parameters
-