public class LLVMError
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LLVMError.Functions
Contains the function pointers loaded from
LLVMCore.getLibrary(). |
| Modifier and Type | Field and Description |
|---|---|
static int |
LLVMErrorSuccess |
| Modifier and Type | Method and Description |
|---|---|
static void |
LLVMConsumeError(long Err)
Dispose of the given error without handling it.
|
static void |
LLVMDisposeErrorMessage(java.nio.ByteBuffer ErrMsg)
Dispose of the given error message.
|
static java.nio.ByteBuffer |
LLVMGetErrorMessage(long Err)
Returns the given string's error message.
|
static long |
LLVMGetErrorTypeId(long Err)
Returns the type id for the given error instance, which must be a failure value (i.e.
|
static long |
LLVMGetStringErrorTypeId()
Returns the type id for llvm
StringError. |
static void |
nLLVMDisposeErrorMessage(long ErrMsg)
Unsafe version of:
DisposeErrorMessage |
static long |
nLLVMGetErrorMessage(long Err)
Unsafe version of:
GetErrorMessage |
public static final int LLVMErrorSuccess
public static long LLVMGetErrorTypeId(long Err)
public static void LLVMConsumeError(long Err)
This operation consumes the error, and the given LLVMErrorRef value is not usable once this call returns. Note: This method only needs
to be called if the error is not being passed to some other consuming operation, e.g. GetErrorMessage.
public static long nLLVMGetErrorMessage(long Err)
GetErrorMessage@Nullable public static java.nio.ByteBuffer LLVMGetErrorMessage(long Err)
This operation consumes the error, and the given LLVMErrorRef value is not usable once this call returns. The caller is responsible for
disposing of the string by calling DisposeErrorMessage.
public static void nLLVMDisposeErrorMessage(long ErrMsg)
DisposeErrorMessagepublic static void LLVMDisposeErrorMessage(java.nio.ByteBuffer ErrMsg)
public static long LLVMGetStringErrorTypeId()
StringError.Copyright LWJGL. All Rights Reserved. License terms.