Interface IGLFWErrorFun

All Superinterfaces:
Callback
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IGLFWErrorFun extends Callback
IGLFWErrorFun relies on preview features of the Java platform:
Programs can only use IGLFWErrorFun when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
This is the function pointer type for error callbacks. An error callback function has the following signature:
@Invoker(IGLFWErrorFun::invoke)
void callbackName(int errorCode, String description);

Pointer lifetime

The error description string is valid until the callback function returns.
Since:
0.1.0
Author:
squid233
See Also: