SetErrorCallback method.
void (*invoke) (
int error,
char *description
)
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static GLFWErrorCallback | Returns: the newGLFWErrorCallbackCreates a |
| public static GLFWErrorCallback | create(GLFWErrorCallbackI instance)
Creates a |
| public static GLFWErrorCallback | Returns: the GLFWerrorCallbackReturns a |
| public static GLFWErrorCallback | Returns: the GLFWerrorCallbackthe PrintStream to use stream)Returns a |
| public static GLFWErrorCallback | |
| public static GLFWErrorCallback | Returns: the GLFWerrorCallbackReturns a |
| public static String | Returns: the description as a Stringpointer to the UTF-8 encoded description string description)Converts the specified |
| public GLFWErrorCallback |
| GLFWErrorCallback | back to summary |
|---|---|
| protected GLFWErrorCallback() | |
| GLFWErrorCallback | back to summary |
|---|---|
| pack-priv GLFWErrorCallback(long functionPointer) | |
| create | back to summary |
|---|---|
| public static GLFWErrorCallback create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static GLFWErrorCallback create(GLFWErrorCallbackI instance) Creates a | |
| createPrint | back to summary |
|---|---|
| public static GLFWErrorCallback createPrint() Returns a
| |
| createPrint | back to summary |
|---|---|
| public static GLFWErrorCallback createPrint(PrintStream stream) Returns a
| |
| createSafe | back to summary |
|---|---|
| public static GLFWErrorCallback createSafe(long functionPointer) Like
| |
| createThrow | back to summary |
|---|---|
| public static GLFWErrorCallback createThrow() Returns a
| |
| getDescription | back to summary |
|---|---|
| public static String getDescription(long description) Converts the specified This method may only be used inside a GLFWErrorCallback invocation.
| |
| set | back to summary |
|---|---|
| public GLFWErrorCallback set() See | |
| Modifier and Type | Field and Description |
|---|---|
| private final GLFWErrorCallbackI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | invoke(int
the error code error, long a pointer to a UTF-8 encoded string describing the error description)Implements org. |
| delegate | back to summary |
|---|---|
| private final GLFWErrorCallbackI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, GLFWErrorCallbackI delegate) | |
| invoke | back to summary |
|---|---|
| public void invoke(int error, long description) Implements org. Doc from org. Will be called with an error code and a human-readable description when a GLFW error occurs.
| |