Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
flavor_macros.hpp File Reference

Go to the source code of this file.

Macros

#define DEFINE_AVM_GETTER(name, start, count)
 

Macro Definition Documentation

◆ DEFINE_AVM_GETTER

#define DEFINE_AVM_GETTER (   name,
  start,
  count 
)
Value:
std::span<DataType> get_##name() \
{ \
return get_all().subspan(start, count); \
} \
std::span<const DataType> get_##name() const \
{ \
return get_all().subspan(start, count); \
} \
std::span<const std::string> get_##name##_labels() const \
{ \
return get_labels().subspan(start, count); \
}
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13

Definition at line 3 of file flavor_macros.hpp.