runtime
1.0.0
Checked CEL programs, owned values, and reusable execution stacks
Toggle main menu visibility
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
8
namespace
cel
{
11
16
struct
layout
{
18
std::size_t
size
;
20
std::size_t
alignment
;
21
};
22
24
}
// namespace cel
25
#endif
cel
Provides byte extents for stack reservation and type descriptors.
Definition
callable.hpp:6
cel::layout
Describes a byte extent and its requested alignment, both in bytes. A checked storage operation accep...
Definition
layout.hpp:16
cel::layout::size
std::size_t size
Counts bytes in the extent; zero describes an empty extent.
Definition
layout.hpp:18
cel::layout::alignment
std::size_t alignment
Specifies the requested nonzero power-of-two alignment in bytes.
Definition
layout.hpp:20
include
cel
runtime
layout.hpp
Generated by
1.18.0