MDB_rel_func typedef
MDB_rel_func = NativeFunction<Void Function(Pointer<MDB_val> item, Pointer<Void> oldptr, Pointer<Void> newptr, Pointer<Void> relctx)>
@brief A callback function used to relocate a position-dependent data item in a fixed-address database.
The \b newptr gives the item's desired address in
the memory map, and \b oldptr gives its previous address. The item's actual
data resides at the address in \b item. This callback is expected to walk
through the fields of the record in \b item and modify any
values based at the \b oldptr address to be relative to the \b newptr address.
@paramin,out
item The item that is to be relocated.
@paramin
oldptr The previous address.
@paramin
newptr The new address to relocate to.
@paramin
relctx An application-provided context, set by #mdb_set_relctx().
@todo This feature is currently unimplemented.
Implementation
typedef MDB_rel_func = ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<MDB_val> item, ffi.Pointer<ffi.Void> oldptr,
ffi.Pointer<ffi.Void> newptr, ffi.Pointer<ffi.Void> relctx)>;