Upa URL C++ library
A WHATWG URL Standard implementation
Loading...
Searching...
No Matches
url_version.h
Go to the documentation of this file.
1// Copyright 2023-2025 Rimas Misevičius
2// Distributed under the BSD-style license that can be
3// found in the LICENSE file.
4//
5
6#ifndef UPA_URL_VERSION_H
7#define UPA_URL_VERSION_H
8
9// NOLINTBEGIN(*-macro-*)
10
11#define UPA_URL_VERSION_MAJOR 2
12#define UPA_URL_VERSION_MINOR 5
13#define UPA_URL_VERSION_PATCH 0
14
15#define UPA_URL_VERSION "2.5.0"
16
18#define UPA_MAKE_VERSION_NUM(n1, n2, n3) ((n1) << 16 | (n2) << 8 | (n3))
19
21#define UPA_URL_VERSION_NUM UPA_MAKE_VERSION_NUM( \
22 UPA_URL_VERSION_MAJOR, \
23 UPA_URL_VERSION_MINOR, \
24 UPA_URL_VERSION_PATCH)
25
26// NOLINTEND(*-macro-*)
27
28#endif // UPA_URL_VERSION_H