Skip to content

Commit

Permalink
Add library version macros UPA_URL_VERSION...
Browse files Browse the repository at this point in the history
  • Loading branch information
rmisev committed Oct 4, 2023
1 parent 9d79fc7 commit 9d9fdfd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/upa/url.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <algorithm>
#include <array>
Expand Down
19 changes: 19 additions & 0 deletions include/upa/url_version.h
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9d9fdfd

Please sign in to comment.