Package org.lwjgl.llvm
Class LLVMDiagnosticHandler
- java.lang.Object
-
- org.lwjgl.system.Callback
-
- org.lwjgl.llvm.LLVMDiagnosticHandler
-
- All Implemented Interfaces:
java.lang.AutoCloseable,LLVMDiagnosticHandlerI,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public abstract class LLVMDiagnosticHandler extends org.lwjgl.system.Callback implements LLVMDiagnosticHandlerI
Instances of this class may be passed to theContextSetDiagnosticHandlermethod.Type
void (*LLVMDiagnosticHandlerI.invoke(long, long)) ( LLVMDiagnosticInfoRef DiagnosticInfo, void *DiagnosticContext )
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.llvm.LLVMDiagnosticHandlerI
CIF
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LLVMDiagnosticHandlercreate(long functionPointer)Creates aLLVMDiagnosticHandlerinstance from the specified function pointer.static LLVMDiagnosticHandlercreate(LLVMDiagnosticHandlerI instance)Creates aLLVMDiagnosticHandlerinstance that delegates to the specifiedLLVMDiagnosticHandlerIinstance.static LLVMDiagnosticHandlercreateSafe(long functionPointer)-
Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
-
Methods inherited from interface org.lwjgl.llvm.LLVMDiagnosticHandlerI
callback, getCallInterface, invoke
-
-
-
-
Method Detail
-
create
public static LLVMDiagnosticHandler create(long functionPointer)
Creates aLLVMDiagnosticHandlerinstance from the specified function pointer.- Returns:
- the new
LLVMDiagnosticHandler
-
createSafe
@Nullable public static LLVMDiagnosticHandler createSafe(long functionPointer)
-
create
public static LLVMDiagnosticHandler create(LLVMDiagnosticHandlerI instance)
Creates aLLVMDiagnosticHandlerinstance that delegates to the specifiedLLVMDiagnosticHandlerIinstance.
-
-