public abstract class MDBRelFunc extends org.lwjgl.system.Callback implements MDBRelFuncI
The newptr gives the item's desired address in the memory map, and oldptr gives its previous address. The item's actual data resides at
the address in item. This callback is expected to walk through the fields of the record in item and modify any values based at the
oldptr address to be relative to the newptr address.
void (*) (
MDB_val *item,
void *oldptr,
void *newptr,
void *relctx
)org.lwjgl.system.CallbackI.B, org.lwjgl.system.CallbackI.D, org.lwjgl.system.CallbackI.F, org.lwjgl.system.CallbackI.I, org.lwjgl.system.CallbackI.J, org.lwjgl.system.CallbackI.N, org.lwjgl.system.CallbackI.P, org.lwjgl.system.CallbackI.S, org.lwjgl.system.CallbackI.V, org.lwjgl.system.CallbackI.ZSIGNATURE| Modifier and Type | Method and Description |
|---|---|
static MDBRelFunc |
create(long functionPointer)
Creates a
MDBRelFunc instance from the specified function pointer. |
static MDBRelFunc |
create(MDBRelFuncI instance)
Creates a
MDBRelFunc instance that delegates to the specified MDBRelFuncI instance. |
static MDBRelFunc |
createSafe(long functionPointer)
|
__stdcall, address, equals, free, free, get, getSafe, hashCode, toStringcallback, getSignature, invokepublic static MDBRelFunc create(long functionPointer)
MDBRelFunc instance from the specified function pointer.MDBRelFunc@Nullable public static MDBRelFunc createSafe(long functionPointer)
public static MDBRelFunc create(MDBRelFuncI instance)
MDBRelFunc instance that delegates to the specified MDBRelFuncI instance.Copyright LWJGL. All Rights Reserved. License terms.