Top Description Inners Constructors Methods
org.lwjgl.llvm

public abstract Class LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction

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

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

Type


LLVMOrcObjectLayerRef (*invoke) (
    void *Ctx,
    LLVMOrcExecutionSessionRef ES,
    char const *Triple
)

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 LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction

Returns:

the new LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction
create
(long functionPointer)

Creates a LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction instance from the specified function pointer.

public static LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction
create(LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunctionI instance)

Creates a LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction instance that delegates to the specified LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunctionI instance.

public static LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunctionback to summary
protected LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction()
LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunctionback to summary
pack-priv LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction(long functionPointer)

Method Detail

createback to summary
public static LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction create(long functionPointer)

Creates a LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction instance from the specified function pointer.

Returns:LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction

the new LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction

createback to summary
public static LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction create(LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunctionI instance)

Creates a LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction instance that delegates to the specified LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunctionI instance.

createSafeback to summary
public static LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.llvm back to summary

private final Class LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction.Container

extends LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunctionI

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public long
invoke(long Ctx, long ES, long Triple)

Implements org.lwjgl.llvm.LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunctionI.invoke.

A function for constructing an ObjectLinkingLayer instance to be used by an LLJIT instance.
Inherited from org.lwjgl.llvm.LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction:
createcreatecreateSafe

Field Detail

delegateback to summary
private final LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunctionI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public long invoke(long Ctx, long ES, long Triple)

Implements org.lwjgl.llvm.LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunctionI.invoke.

Doc from org.lwjgl.llvm.LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunctionI.invoke.

A function for constructing an ObjectLinkingLayer instance to be used by an LLJIT instance.

Clients can call OrcLLJITBuilderSetObjectLinkingLayerCreator to set the creator function to use when constructing an LLJIT instance. This can be used to override the default linking layer implementation that would otherwise be chosen by LLJITBuilder.

Object linking layers returned by this function will become owned by the LLJIT instance. The client is not responsible for managing their lifetimes after the function returns.

Annotations
@Override