Top Description Inners Constructors Methods
org.lwjgl.llvm

public abstract Class LLVMOrcObjectTransformLayerTransformFunction

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

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

Type


LLVMErrorRef (*invoke) (
    void *Ctx,
    LLVMMemoryBufferRef *ObjInOut
)

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 LLVMOrcObjectTransformLayerTransformFunction

Returns:

the new LLVMOrcObjectTransformLayerTransformFunction
create
(long functionPointer)

Creates a LLVMOrcObjectTransformLayerTransformFunction instance from the specified function pointer.

public static LLVMOrcObjectTransformLayerTransformFunction
create(LLVMOrcObjectTransformLayerTransformFunctionI instance)

Creates a LLVMOrcObjectTransformLayerTransformFunction instance that delegates to the specified LLVMOrcObjectTransformLayerTransformFunctionI instance.

public static LLVMOrcObjectTransformLayerTransformFunction
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

LLVMOrcObjectTransformLayerTransformFunctionback to summary
protected LLVMOrcObjectTransformLayerTransformFunction()
LLVMOrcObjectTransformLayerTransformFunctionback to summary
pack-priv LLVMOrcObjectTransformLayerTransformFunction(long functionPointer)

Method Detail

createback to summary
public static LLVMOrcObjectTransformLayerTransformFunction create(long functionPointer)

Creates a LLVMOrcObjectTransformLayerTransformFunction instance from the specified function pointer.

Returns:LLVMOrcObjectTransformLayerTransformFunction

the new LLVMOrcObjectTransformLayerTransformFunction

createback to summary
public static LLVMOrcObjectTransformLayerTransformFunction create(LLVMOrcObjectTransformLayerTransformFunctionI instance)

Creates a LLVMOrcObjectTransformLayerTransformFunction instance that delegates to the specified LLVMOrcObjectTransformLayerTransformFunctionI instance.

createSafeback to summary
public static LLVMOrcObjectTransformLayerTransformFunction createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.llvm back to summary

private final Class LLVMOrcObjectTransformLayerTransformFunction.Container

extends LLVMOrcObjectTransformLayerTransformFunction
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final LLVMOrcObjectTransformLayerTransformFunctionI

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public long
invoke(long Ctx, long ObjInOut)

Implements org.lwjgl.llvm.LLVMOrcObjectTransformLayerTransformFunctionI.invoke.

A function for applying transformations to an object file buffer.
Inherited from org.lwjgl.llvm.LLVMOrcObjectTransformLayerTransformFunction:
createcreatecreateSafe

Field Detail

delegateback to summary
private final LLVMOrcObjectTransformLayerTransformFunctionI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public long invoke(long Ctx, long ObjInOut)

Implements org.lwjgl.llvm.LLVMOrcObjectTransformLayerTransformFunctionI.invoke.

Doc from org.lwjgl.llvm.LLVMOrcObjectTransformLayerTransformFunctionI.invoke.

A function for applying transformations to an object file buffer.

Implementations of this type are responsible for managing the lifetime of the memory buffer pointed to by ObjInOut: If the LLVMMemoryBufferRef value is overwritten then the function is responsible for disposing of the incoming buffer. If the buffer is simply accessed/mutated in-place then ownership returns to the caller and the function does not need to do any lifetime management.

The transform is allowed to return an error, in which case the ObjInOut buffer should be disposed of and set to null.

Annotations
@Override