Package org.lwjgl.util.opus
Class OPSeekFunc
- java.lang.Object
-
- org.lwjgl.system.Callback
-
- org.lwjgl.util.opus.OPSeekFunc
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer,OPSeekFuncI
public abstract class OPSeekFunc extends org.lwjgl.system.Callback implements OPSeekFuncI
Instances of this class may be set toOpusFileCallbacks.Type
int (*OPSeekFuncI.invoke(long, long, int)) ( void *_stream, long long _offset, int _whence )
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.util.opus.OPSeekFuncI
CIF
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OPSeekFunccreate(long functionPointer)Creates aOPSeekFuncinstance from the specified function pointer.static OPSeekFunccreate(OPSeekFuncI instance)Creates aOPSeekFuncinstance that delegates to the specifiedOPSeekFuncIinstance.static OPSeekFunccreateSafe(long functionPointer)-
Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
-
Methods inherited from interface org.lwjgl.util.opus.OPSeekFuncI
callback, getCallInterface, invoke
-
-
-
-
Method Detail
-
create
public static OPSeekFunc create(long functionPointer)
Creates aOPSeekFuncinstance from the specified function pointer.- Returns:
- the new
OPSeekFunc
-
createSafe
@Nullable public static OPSeekFunc createSafe(long functionPointer)
-
create
public static OPSeekFunc create(OPSeekFuncI instance)
Creates aOPSeekFuncinstance that delegates to the specifiedOPSeekFuncIinstance.
-
-