Package org.lwjgl.llvm
Class LLVMYieldCallback
- java.lang.Object
-
- org.lwjgl.system.Callback
-
- org.lwjgl.llvm.LLVMYieldCallback
-
- All Implemented Interfaces:
java.lang.AutoCloseable,LLVMYieldCallbackI,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public abstract class LLVMYieldCallback extends org.lwjgl.system.Callback implements LLVMYieldCallbackI
Instances of this class may be passed to theContextSetYieldCallbackmethod.Type
void (*LLVMYieldCallbackI.invoke(long, long)) ( LLVMContextRef Context, void *OpaqueHandle )
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.llvm.LLVMYieldCallbackI
CIF
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LLVMYieldCallbackcreate(long functionPointer)Creates aLLVMYieldCallbackinstance from the specified function pointer.static LLVMYieldCallbackcreate(LLVMYieldCallbackI instance)Creates aLLVMYieldCallbackinstance that delegates to the specifiedLLVMYieldCallbackIinstance.static LLVMYieldCallbackcreateSafe(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.LLVMYieldCallbackI
callback, getCallInterface, invoke
-
-
-
-
Method Detail
-
create
public static LLVMYieldCallback create(long functionPointer)
Creates aLLVMYieldCallbackinstance from the specified function pointer.- Returns:
- the new
LLVMYieldCallback
-
createSafe
@Nullable public static LLVMYieldCallback createSafe(long functionPointer)
-
create
public static LLVMYieldCallback create(LLVMYieldCallbackI instance)
Creates aLLVMYieldCallbackinstance that delegates to the specifiedLLVMYieldCallbackIinstance.
-
-