Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
version.hpp
1// Copyright (c) 2026 ttldtor.
2// SPDX-License-Identifier: BSL-1.0
3
4#pragma once
5
7namespace portals {
8
10struct Version {
11 unsigned major;
12 unsigned minor;
13 unsigned patch;
14};
15
23Version version() noexcept;
24
25} // namespace portals
Public Portals API.
Definition action.hpp:8
Version version() noexcept
Return the version of the linked library by value.
Version components of the linked Portals library, owned by the caller.
Definition version.hpp:10
unsigned major
Major release component.
Definition version.hpp:11
unsigned patch
Patch release component.
Definition version.hpp:13
unsigned minor
Minor release component.
Definition version.hpp:12