LMDB
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
Version Macros
LMDB API

Macros

#define MDB_VERSION_MAJOR   0
 
#define MDB_VERSION_MINOR   9
 
#define MDB_VERSION_PATCH   18
 
#define MDB_VERINT(a, b, c)   (((a) << 24) | ((b) << 16) | (c))
 
#define MDB_VERSION_FULL   MDB_VERINT(MDB_VERSION_MAJOR,MDB_VERSION_MINOR,MDB_VERSION_PATCH)
 
#define MDB_VERSION_DATE   "December 19, 2015"
 
#define MDB_VERSTR(a, b, c, d)   "LMDB " #a "." #b "." #c ": (" d ")"
 
#define MDB_VERFOO(a, b, c, d)   MDB_VERSTR(a,b,c,d)
 
#define MDB_VERSION_STRING   MDB_VERFOO(MDB_VERSION_MAJOR,MDB_VERSION_MINOR,MDB_VERSION_PATCH,MDB_VERSION_DATE)
 

Detailed Description

Macro Definition Documentation

#define MDB_VERSION_MAJOR   0

Library major version

#define MDB_VERSION_MINOR   9

Library minor version

#define MDB_VERSION_PATCH   18

Library patch version

#define MDB_VERINT (   a,
  b,
 
)    (((a) << 24) | ((b) << 16) | (c))

Combine args a,b,c into a single integer for easy version comparisons

The full library version as a single integer

#define MDB_VERSION_DATE   "December 19, 2015"

The release date of this library version

#define MDB_VERSTR (   a,
  b,
  c,
 
)    "LMDB " #a "." #b "." #c ": (" d ")"

A stringifier for the version info

#define MDB_VERFOO (   a,
  b,
  c,
 
)    MDB_VERSTR(a,b,c,d)

A helper for the stringifier macro

The full library version as a C string