runtime 1.0.0
Checked CEL programs, owned values, and reusable execution stacks
Loading...
Searching...
No Matches
cel::stack_reservation Struct Reference

Describes total caller storage and slot capacity 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);. 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.

Detailed Description

Describes total caller storage and slot capacity 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);.


The documentation for this struct was generated from the following file: