mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-15 08:26:04 +08:00
30 lines
549 B
Plaintext
30 lines
549 B
Plaintext
---
|
|
title: "Versions"
|
|
---
|
|
|
|
As set of macros that allow the version of the ETL to be determined.
|
|
|
|
## Definitions
|
|
```cpp
|
|
ETL_VERSION
|
|
ETL_VERSION_W
|
|
ETL_VERSION_U16
|
|
ETL_VERSION_U32
|
|
ETL_VERSION_MAJOR
|
|
ETL_VERSION_MINOR
|
|
ETL_VERSION_PATCH
|
|
ETL_VERSION_VALUE
|
|
```
|
|
|
|
## Example values
|
|
```cpp
|
|
#define ETL_VERSION "10.21.2"
|
|
#define ETL_VERSION_W L"10.21.2"
|
|
#define ETL_VERSION_U16 u"10.21.2"
|
|
#define ETL_VERSION_U32 U"10.21.2"
|
|
#define ETL_VERSION_MAJOR 10
|
|
#define ETL_VERSION_MINOR 21
|
|
#define ETL_VERSION_PATCH 2
|
|
#define ETL_VERSION_VALUE 102102
|
|
```
|