Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
version.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstddef>
4
5namespace bb {
6// Internal: Full string with sentinel prefix for binary patching by inject_version
7extern const char* const BB_VERSION_PLACEHOLDER;
8
9// The sentinel string length (used to compute offset to actual version)
10constexpr size_t BB_VERSION_SENTINEL_LEN = 29; // strlen("BARRETENBERG_VERSION_SENTINEL")
11
12// Public: Pointer to the actual version string (past the sentinel prefix)
13// Use this wherever you need the version string
15} // namespace bb
Entry point for Barretenberg command-line interface.
Definition api.hpp:5
constexpr size_t BB_VERSION_SENTINEL_LEN
Definition version.hpp:10
const char *const BB_VERSION_PLACEHOLDER
Definition version.cpp:10
const char * BB_VERSION
Definition version.hpp:14