Package org.lwjgl.system
Interface CallbackI
-
- All Superinterfaces:
- Pointer
- All Known Subinterfaces:
- CallbackI.B, CallbackI.D, CallbackI.F, CallbackI.I, CallbackI.J, CallbackI.P, CallbackI.S, CallbackI.V, CallbackI.Z, EnumerationMutationHandlerI, WindowProcI
- All Known Implementing Classes:
- EnumerationMutationHandler, WindowProc
public interface CallbackI extends Pointer
Base interface for dynamically created native functions that call into Java code. Pointers to such functions can be passed to native APIs as callbacks.This interface does not define a callback method, therefore it should not be implemented directly. The following inner interfaces should be used instead:
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface and Description static interface
CallbackI.B
ACallback
that returns a byte value.static interface
CallbackI.D
ACallback
that returns a double value.static interface
CallbackI.F
ACallback
that returns a float value.static interface
CallbackI.I
ACallback
that returns an int value.static interface
CallbackI.J
ACallback
that returns a long value.static interface
CallbackI.P
ACallback
that returns a pointer value.static interface
CallbackI.S
ACallback
that returns a short value.static interface
CallbackI.V
ACallback
with no return value.static interface
CallbackI.Z
ACallback
that returns a boolean value.-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method and Description default long
address()
Returns the raw pointer address as along
value.java.lang.String
getSignature()
Returns the dyncall signature for this callback function.
-