public abstract class ImAssertCallback
extends java.lang.Object
Constructor and Description |
---|
ImAssertCallback() |
Modifier and Type | Method and Description |
---|---|
void |
imAssert(java.lang.String assertion,
int line,
java.lang.String file)
Called from native code to bring the callback into java side.
|
abstract void |
imAssertCallback(java.lang.String assertion,
int line,
java.lang.String file)
The assertion callback from ImGui.
|
public void imAssert(java.lang.String assertion, int line, java.lang.String file)
assertion
- The assertion stringline
- The line number of the assertion in the source filefile
- The source file where the assertion occurredpublic abstract void imAssertCallback(java.lang.String assertion, int line, java.lang.String file)
There is no way to catch the assertion and continue execution.
You may however call System.exit(code)
with your own exit code.
assertion
- The assertion stringline
- The line number of the assertion in the source filefile
- The source file where the assertion occurred