Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
flavor_macros.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#define DEFINE_AVM_GETTER(name, start, count) \
4
std::span<DataType> get_##name() \
5
{ \
6
return get_all().subspan(start, count); \
7
} \
8
std::span<const DataType> get_##name() const \
9
{ \
10
return get_all().subspan(start, count); \
11
} \
12
std::span<const std::string> get_##name##_labels() const \
13
{ \
14
return get_labels().subspan(start, count); \
15
}
src
barretenberg
vm2
constraining
flavor_macros.hpp
Generated by
1.9.8