|
runtime 1.1.4
Checked CEL programs, owned values, and reusable execution stacks
|
Total byte and slot capacities for one prefixed execution. More...
#include <cel/runtime/dyn_segment.hpp>
Public Attributes | |
| layout | bytes |
| Gives total byte capacity and required alignment. | |
| std::size_t | slots |
| Gives total live-slot capacity, including the caller prefix. | |
Total byte and slot capacities for one prefixed execution.
Both fields include the live caller prefix; neither counts separately owned composite payloads.
Example: stack.reserve(r.bytes.size, r.bytes.alignment); stack.reserve_depth(r.slots);.