mdb_env_set_userctx function
@brief Set application information associated with the #MDB_env.
@paramin
env An environment handle returned by #mdb_env_create()
@paramin
ctx An arbitrary pointer for whatever the application needs.
@return A non-zero error value on failure and 0 on success.
Implementation
@ffi.FfiNative<ffi.Int Function(ffi.Pointer<MDB_env>, ffi.Pointer<ffi.Void>)>(
'mdb_env_set_userctx')
external int mdb_env_set_userctx(
ffi.Pointer<MDB_env> env,
ffi.Pointer<ffi.Void> ctx,
);