Version(3)
π NAME π
Version β Version Macros, bestie!! β¨
Okay so real quick before we dive in: this is the Version(3) page from the Library Functions Manual, and it's literally just the β¨version macrosβ¨ for the library. All the numbers, all the stringifier magic, all of it. Let's goooo π¦
πΈ SYNOPSIS πΈ
π Macros π
#define MDB_VERSION_MAJOR 0
#define MDB_VERSION_MINOR 9
#define MDB_VERSION_PATCH 35
#define MDB_VERINT(a, b, c)
#define MDB_VERSION_FULL
MDB_VERINT(MDB_VERSION_MAJOR,MDB_VERSION_MINOR,MDB_VERSION_PATCH)
#define MDB_VERSION_DATE 'Jan 27, 2026'
#define MDB_VERSTR(a, b, c, d)
#define MDB_VERFOO(a, b, c, d)
#define MDB_VERSION_STRING
MDB_VERFOO(MDB_VERSION_MAJOR,MDB_VERSION_MINOR,MDB_VERSION_PATCH,MDB_VERSION_DATE)
π¦ Detailed Description π¦
Not me pulling up this section and it's... empty π That's literally it, that's the whole vibe. No extra prose here, the macros are doing all the talking. Moving on bestie π«Ά
π Macro Definition Documentation π
β #define MDB_VERSION_MAJOR 0
The library major version. Iconic, and currently 0 π
β #define MDB_VERSION_MINOR 9
The library minor version. Right now it's sitting at 9 β¨
β #define MDB_VERSION_PATCH 35
The library patch version. Currently 35 π
β #define MDB_VERINT( a, b, c)
Value:
(((a) << 24) | ((b) << 16) | (c))
This one takes the args a, b, c and smooshes them into a single integer so you can do easy version comparisons. Lowkey genius π§
β #define MDB_VERSION_FULL
Value:
MDB_VERINT(MDB_VERSION_MAJOR,MDB_VERSION_MINOR,MDB_VERSION_PATCH)
The full library version as a single integer. One number, all the info, main character energy π
β #define MDB_VERSION_DATE 'Jan 27, 2026'
The release date of this library version. Mark your calendars bestie, 'Jan 27, 2026' π
β #define MDB_VERSTR( a, b, c, d)
Value:
"LMDB " #a "." #b "." #c ": (" d ")"
A stringifier for the version info. It takes the numbers and the date and turns them into an actual cute lil string π
β #define MDB_VERFOO( a, b, c, d)
Value:
MDB_VERSTR(a,b,c,d)
A helper for the stringifier macro. Just doing the behind-the-scenes work so MDB_VERSTR can shine β¨
β #define MDB_VERSION_STRING
Value:
MDB_VERFOO(MDB_VERSION_MAJOR,MDB_VERSION_MINOR,MDB_VERSION_PATCH,MDB_VERSION_DATE)
The full library version as a C string. Yes bestie, this is the one you actually print π
π Author π
Generated automatically by Doxygen for LMDB from the source code. Not me being an auto-generated baddie, we love a hands-free moment π
That's the whole page, bestie, no cap π
LMDB Β· Version(3) β mwah, take care of yourself, drink some water, and go check your version macros π«Άβ¨
π¦ where this page comes from
- ubuntu stonking: lmdb-doc 0.9.35-1 Β· OpenLDAP-2.8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms