Top Description Inners Constructors Methods
org.lwjgl.llvm

public abstract Class LLVMOrcExecutionSessionLookupHandleResultFunction

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

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

Type


void (*invoke) (
    LLVMErrorRef Err,
    LLVMOrcCSymbolMapPairs Result,
    size_t NumPairs,
    void *Ctx
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
protected
pack-priv

Method Summary

Modifier and TypeMethod and Description
public static LLVMOrcExecutionSessionLookupHandleResultFunction

Returns:

the new LLVMOrcExecutionSessionLookupHandleResultFunction
create
(long functionPointer)

Creates a LLVMOrcExecutionSessionLookupHandleResultFunction instance from the specified function pointer.

public static LLVMOrcExecutionSessionLookupHandleResultFunction
create(LLVMOrcExecutionSessionLookupHandleResultFunctionI instance)

Creates a LLVMOrcExecutionSessionLookupHandleResultFunction instance that delegates to the specified LLVMOrcExecutionSessionLookupHandleResultFunctionI instance.

public static LLVMOrcExecutionSessionLookupHandleResultFunction
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

LLVMOrcExecutionSessionLookupHandleResultFunctionback to summary
protected LLVMOrcExecutionSessionLookupHandleResultFunction()
LLVMOrcExecutionSessionLookupHandleResultFunctionback to summary
pack-priv LLVMOrcExecutionSessionLookupHandleResultFunction(long functionPointer)

Method Detail

createback to summary
public static LLVMOrcExecutionSessionLookupHandleResultFunction create(long functionPointer)

Creates a LLVMOrcExecutionSessionLookupHandleResultFunction instance from the specified function pointer.

Returns:LLVMOrcExecutionSessionLookupHandleResultFunction

the new LLVMOrcExecutionSessionLookupHandleResultFunction

createback to summary
public static LLVMOrcExecutionSessionLookupHandleResultFunction create(LLVMOrcExecutionSessionLookupHandleResultFunctionI instance)

Creates a LLVMOrcExecutionSessionLookupHandleResultFunction instance that delegates to the specified LLVMOrcExecutionSessionLookupHandleResultFunctionI instance.

createSafeback to summary
public static LLVMOrcExecutionSessionLookupHandleResultFunction createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.llvm back to summary

private final Class LLVMOrcExecutionSessionLookupHandleResultFunction.Container

extends LLVMOrcExecutionSessionLookupHandleResultFunction
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final LLVMOrcExecutionSessionLookupHandleResultFunctionI

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

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

Implements org.lwjgl.llvm.LLVMOrcExecutionSessionLookupHandleResultFunctionI.invoke.

Callback type for ExecutionSession lookups.
Inherited from org.lwjgl.llvm.LLVMOrcExecutionSessionLookupHandleResultFunction:
createcreatecreateSafe

Field Detail

delegateback to summary
private final LLVMOrcExecutionSessionLookupHandleResultFunctionI delegate

Constructor Detail

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

Method Detail

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

Implements org.lwjgl.llvm.LLVMOrcExecutionSessionLookupHandleResultFunctionI.invoke.

Doc from org.lwjgl.llvm.LLVMOrcExecutionSessionLookupHandleResultFunctionI.invoke.

Callback type for ExecutionSession lookups.

If Err is ErrorSuccess then Result will contain a pointer to a list of ( SymbolStringPtr, JITEvaluatedSymbol ) pairs of length NumPairs.

If Err is a failure value then Result and Ctx are undefined and should not be accessed. The callback is responsible for handling the error value (e.g. by calling GetErrorMessage + DisposeErrorMessage).

The caller retains ownership of the Result array and will release all contained symbol names. Clients are responsible for retaining any symbol names that they wish to hold after the function returns.

Annotations
@Override