From 9d9fdfdf2b06db548595161d3f938de0bcd2deff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rimas=20Misevi=C4=8Dius?= Date: Wed, 4 Oct 2023 20:22:39 +0300 Subject: [PATCH] Add library version macros UPA_URL_VERSION... --- include/upa/url.h | 1 + include/upa/url_version.h | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 include/upa/url_version.h diff --git a/include/upa/url.h b/include/upa/url.h index fc9ca00..a7a0729 100644 --- a/include/upa/url.h +++ b/include/upa/url.h @@ -24,6 +24,7 @@ #include "url_percent_encode.h" #include "url_result.h" #include "url_search_params.h" +#include "url_version.h" #include "util.h" #include #include diff --git a/include/upa/url_version.h b/include/upa/url_version.h new file mode 100644 index 0000000..160372f --- /dev/null +++ b/include/upa/url_version.h @@ -0,0 +1,19 @@ +// Copyright 2023 Rimas Misevičius +// Distributed under the BSD-style license that can be +// found in the LICENSE file. +// + +#ifndef UPA_URL_VERSION_H +#define UPA_URL_VERSION_H + +// NOLINTBEGIN(*-macro-*) + +#define UPA_URL_VERSION_MAJOR 0 +#define UPA_URL_VERSION_MINOR 0 +#define UPA_URL_VERSION_PATCH 1 + +#define UPA_URL_VERSION "0.0.1" + +// NOLINTEND(*-macro-*) + +#endif // UPA_URL_VERSION_H