Top Description Inners Constructors Methods
org.lwjgl.llvm

public abstract Class LLVMOrcErrorReporterFunction

extends Callback
implements LLVMOrcErrorReporterFunctionI
Class Inheritance
All Implemented Interfaces
org.lwjgl.llvm.LLVMOrcErrorReporterFunctionI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.llvm.LLVMOrcErrorReporterFunction.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Instances of this class may be passed to the OrcExecutionSessionSetErrorReporter method.

Type


void (*invoke) (
    void *Ctx,
    LLVMErrorRef Err
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
protected
pack-priv
LLVMOrcErrorReporterFunction(long functionPointer)

Method Summary

Modifier and TypeMethod and Description
public static LLVMOrcErrorReporterFunction

Returns:

the new LLVMOrcErrorReporterFunction
create
(long functionPointer)

Creates a LLVMOrcErrorReporterFunction instance from the specified function pointer.

public static LLVMOrcErrorReporterFunction
create(LLVMOrcErrorReporterFunctionI instance)

Creates a LLVMOrcErrorReporterFunction instance that delegates to the specified LLVMOrcErrorReporterFunctionI instance.

public static LLVMOrcErrorReporterFunction
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

LLVMOrcErrorReporterFunctionback to summary
protected LLVMOrcErrorReporterFunction()
LLVMOrcErrorReporterFunctionback to summary
pack-priv LLVMOrcErrorReporterFunction(long functionPointer)

Method Detail

createback to summary
public static LLVMOrcErrorReporterFunction create(long functionPointer)

Creates a LLVMOrcErrorReporterFunction instance from the specified function pointer.

Returns:LLVMOrcErrorReporterFunction

the new LLVMOrcErrorReporterFunction

createback to summary
public static LLVMOrcErrorReporterFunction create(LLVMOrcErrorReporterFunctionI instance)

Creates a LLVMOrcErrorReporterFunction instance that delegates to the specified LLVMOrcErrorReporterFunctionI instance.

createSafeback to summary
public static LLVMOrcErrorReporterFunction createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.llvm back to summary

private final Class LLVMOrcErrorReporterFunction.Container

extends LLVMOrcErrorReporterFunction
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final LLVMOrcErrorReporterFunctionI

Constructor Summary

AccessConstructor and Description
pack-priv
Container(long functionPointer, LLVMOrcErrorReporterFunctionI delegate)

Method Summary

Modifier and TypeMethod and Description
public void
invoke(long Ctx, long Err)

Implements org.lwjgl.llvm.LLVMOrcErrorReporterFunctionI.invoke.

Error reporter function.
Inherited from org.lwjgl.llvm.LLVMOrcErrorReporterFunction:
createcreatecreateSafe

Field Detail

delegateback to summary
private final LLVMOrcErrorReporterFunctionI delegate

Constructor Detail

Containerback to summary
pack-priv Container(long functionPointer, LLVMOrcErrorReporterFunctionI delegate)

Method Detail

invokeback to summary
public void invoke(long Ctx, long Err)

Implements org.lwjgl.llvm.LLVMOrcErrorReporterFunctionI.invoke.

Doc from org.lwjgl.llvm.LLVMOrcErrorReporterFunctionI.invoke.

Error reporter function.

Annotations
@Override