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