runtime 1.0.0
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
16struct layout {
18 std::size_t size;
20 std::size_t alignment;
21};
22
24} // namespace cel
25#endif
Provides byte extents for stack reservation and type descriptors.
Definition callable.hpp:6
Describes a byte extent and its requested alignment, both in bytes. A checked storage operation accep...
Definition layout.hpp:16
std::size_t size
Counts bytes in the extent; zero describes an empty extent.
Definition layout.hpp:18
std::size_t alignment
Specifies the requested nonzero power-of-two alignment in bytes.
Definition layout.hpp:20