Electroneum
lmdb::close_env Struct Reference

Closes LMDB environment handle. More...

#include <database.h>

Public Member Functions

void operator() (MDB_env *ptr) const noexcept
 

Detailed Description

Closes LMDB environment handle.

Definition at line 42 of file database.h.

Member Function Documentation

◆ operator()()

void lmdb::close_env::operator() ( MDB_env ptr) const
inlinenoexcept

Definition at line 44 of file database.h.

45  {
46  if (ptr)
47  mdb_env_close(ptr);
48  }
void mdb_env_close(MDB_env *env)
Close the environment and release the memory map.
Here is the call graph for this function:

The documentation for this struct was generated from the following file: