mdb_env_get_userctx function

Pointer<Void> mdb_env_get_userctx(
  1. Pointer<MDB_env> env
)

@brief Get the application information associated with the #MDB_env.

@paramin env An environment handle returned by #mdb_env_create() @return The pointer set by #mdb_env_set_userctx().

Implementation

@ffi.FfiNative<ffi.Pointer<ffi.Void> Function(ffi.Pointer<MDB_env>)>(
    'mdb_env_get_userctx')
external ffi.Pointer<ffi.Void> mdb_env_get_userctx(
  ffi.Pointer<MDB_env> env,
);