logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Version - Version Macros

Author

       Generated automatically by Doxygen for LMDB from the source code.

                                                      LMDB                                            Version(3)

Detailed Description

Macro Definition Documentation

#defineMDB_VERSION_MAJOR0
       Library major version

   #defineMDB_VERSION_MINOR9
       Library minor version

   #defineMDB_VERSION_PATCH31
       Library patch version

   #defineMDB_VERINT(a,b,c)(((a)<<24)|((b)<<16)|(c))
       Combine args a,b,c into a single integer for easy version comparisons

   #defineMDB_VERSION_FULLMDB_VERINT(MDB_VERSION_MAJOR,MDB_VERSION_MINOR,MDB_VERSION_PATCH)
       The full library version as a single integer

   #defineMDB_VERSION_DATE'July10,2023'
       The release date of this library version

   #defineMDB_VERSTR(a,b,c,d)'LMDB'#a'.'#b'.'#c':('d')'
       A stringifier for the version info

   #defineMDB_VERFOO(a,b,c,d)MDB_VERSTR(a,b,c,d)
       A helper for the stringifier macro

   #defineMDB_VERSION_STRINGMDB_VERFOO(MDB_VERSION_MAJOR,MDB_VERSION_MINOR,MDB_VERSION_PATCH,MDB_VERSION_DATE)
       The full library version as a C string

Name

       Version - Version Macros

Synopsis

Macros
       #define MDB_VERSION_MAJOR   0
       #define MDB_VERSION_MINOR   9
       #define MDB_VERSION_PATCH   31
       #define MDB_VERINT(a,  b,  c)   (((a) << 24) | ((b) << 16) | (c))
       #define MDB_VERSION_FULLMDB_VERINT(MDB_VERSION_MAJOR,MDB_VERSION_MINOR,MDB_VERSION_PATCH)
       #define MDB_VERSION_DATE   'July 10, 2023'
       #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_STRINGMDB_VERFOO(MDB_VERSION_MAJOR,MDB_VERSION_MINOR,MDB_VERSION_PATCH,MDB_VERSION_DATE)

See Also