|
Lance C/C++ Bindings
C ABI and header-only C++ RAII wrappers for the Lance columnar data format
|
lance-c binding version macros and the runtime version accessor. More...
#include "lance/attributes.h"Go to the source code of this file.
Macros | |
| #define | LANCE_C_VERSION_MAJOR 0 |
| #define | LANCE_C_VERSION_MINOR 2 |
| #define | LANCE_C_VERSION_PATCH 1 |
| #define | LANCE_C_VERSION_PRE "beta.8" |
| #define | LANCE_C_VERSION_STRING "0.2.1-beta.8" |
| #define | LANCE_C_VERSION_ENCODE(major, minor, patch) |
| #define | LANCE_C_VERSION LANCE_C_VERSION_ENCODE(LANCE_C_VERSION_MAJOR, LANCE_C_VERSION_MINOR, LANCE_C_VERSION_PATCH) |
Functions | |
| LANCE_NODISCARD LANCE_API const char * | lance_c_version (void) |
lance-c binding version macros and the runtime version accessor.
Definition in file version.h.
| #define LANCE_C_VERSION LANCE_C_VERSION_ENCODE(LANCE_C_VERSION_MAJOR, LANCE_C_VERSION_MINOR, LANCE_C_VERSION_PATCH) |
| #define LANCE_C_VERSION_ENCODE | ( | major, | |
| minor, | |||
| patch ) |
| LANCE_NODISCARD LANCE_API const char * lance_c_version | ( | void | ) |
Return the version of the loaded lance-c library as a NUL-terminated string, including any pre-release suffix (for example "0.2.0-beta.1").
The returned string is owned by the library and remains valid for the process lifetime; do not free it. Compare it with LANCE_C_VERSION_STRING from the headers used at compile time to detect a header/library mismatch.
This reports the lance-c binding release, not the Lance core writer version or a Git revision.