RAVENNAKIT
Select a version...
Loading...
Searching...
No Matches
system.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: AGPL-3.0-or-later
2
/*
3
* Project: RAVENNAKIT (RAVENNA / AES67 / ST2110-30 SDK)
4
* Copyright (c) 2024-2025 Sound on Digital
5
*
6
* This file is part of RAVENNAKIT.
7
*
8
* RAVENNAKIT is dual-licensed:
9
* 1) Under the terms of the GNU Affero General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version (the "AGPL License"); and
12
* 2) Under a commercial license from Sound on Digital, for customers who
13
* cannot (or do not wish to) comply with the AGPL License terms.
14
*
15
* If you obtained this file under the AGPL License, you may redistribute it
16
* and/or modify it under the terms of the AGPL License. See the LICENSE
17
* file in the project root for details.
18
*
19
* For commercial licensing, support, and other inquiries, please visit:
20
*
21
* https://ravennakit.com
22
*
23
*/
24
25
#pragma once
26
27
#include "
ravennakit/core/byte_order.hpp
"
28
29
#include <cstdint>
30
31
namespace
rav
{
32
33
inline
void
do_system_checks
() {
34
static_assert
(
sizeof
(size_t) ==
sizeof
(uint64_t),
"size_t must be 64-bit"
);
35
validate_byte_order
();
36
}
37
38
}
// namespace rav
byte_order.hpp
rav
Definition
aes67_constants.hpp:27
rav::do_system_checks
void do_system_checks()
Definition
system.hpp:33
rav::validate_byte_order
void validate_byte_order()
Validates whether the compiled byte order matches the runtime byte order.
Definition
byte_order.hpp:273
RAVENNAKIT version v0.21.6
include
ravennakit
core
system.hpp
Generated by
1.16.1