Package org.lwjgl.cuda
Class CUhostFn
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.cuda.CUhostFn
- All Implemented Interfaces:
AutoCloseable
,CUhostFnI
,CallbackI
,NativeResource
,Pointer
Type
void (*CUhostFnI.invoke(long)
) (
void *userData
)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Method Summary
Modifier and TypeMethodDescriptionstatic CUhostFn
create
(long functionPointer) Creates aCUhostFn
instance from the specified function pointer.static CUhostFn
Creates aCUhostFn
instance that delegates to the specifiedCUhostFnI
instance.static CUhostFn
createSafe
(long functionPointer) Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
Methods inherited from interface org.lwjgl.cuda.CUhostFnI
callback, getCallInterface, invoke
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
Method Details
-
create
Creates aCUhostFn
instance from the specified function pointer.- Returns:
- the new
CUhostFn
-
createSafe
-
create
Creates aCUhostFn
instance that delegates to the specifiedCUhostFnI
instance.
-