runtime 1.1.4
Checked CEL programs, owned values, and reusable execution stacks
Loading...
Searching...
No Matches
layout.hpp
1// SPDX-License-Identifier: BSL-1.0
2#ifndef CEL_RUNTIME_LAYOUT_HPP
3#define CEL_RUNTIME_LAYOUT_HPP
4
5#include <cstddef>
6
8namespace cel {
11
18struct layout {
20 std::size_t size;
22 std::size_t alignment;
23};
24
26} // namespace cel
27#endif
Byte extents for stack reservation and type descriptors.
Definition callable.hpp:6
A byte extent and its requested alignment, both in bytes.
Definition layout.hpp:18
std::size_t size
Counts bytes in the extent; zero describes an empty extent.
Definition layout.hpp:20
std::size_t alignment
Specifies the requested nonzero power-of-two alignment in bytes.
Definition layout.hpp:22