PineForge
unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pine_source_key_test.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstdint>
4
5
namespace
pineforge::source::detail
{
6
// Compile-time seam only. The shipping adapter has the identity expression;
7
// neither a run option nor an environment variable can select the mask.
8
static
constexpr
std::uint64_t
source_key_test_mask
(std::uint64_t value)
noexcept
{
9
#ifdef PINEFORGE_TEST_SOURCE_KEY_MASK
10
return
value & PINEFORGE_TEST_SOURCE_KEY_MASK;
11
#else
12
return
value;
13
#endif
14
}
15
}
// namespace pineforge::source::detail
pineforge::source::detail
Definition
exit_payload_readback.hpp:52
pineforge::source::detail::source_key_test_mask
static constexpr std::uint64_t source_key_test_mask(std::uint64_t value) noexcept
Definition
pine_source_key_test.hpp:8
src
source
pine_source_key_test.hpp
PineForge unreleased — Apache-2.0 —
github.com/pineforge-4pass/pineforge-engine
—
pineforge.dev