feat(furvm): expose the stack

This commit is contained in:
2026-08-17 21:13:02 +02:00
parent 1d4e8bb1d0
commit dab7f73216
2 changed files with 10 additions and 8 deletions
+4 -2
View File
@@ -150,6 +150,8 @@ public:
thing<>& top_thing();
const thing<>& top_thing() const;
const std::vector<thing<>>& stack() const { return m_stack; }
public:
/**
* @brief Stores a thing in a frame variable.
@@ -191,8 +193,8 @@ private:
executor_flags m_flags = executor_flags::Done;
context* m_context;
std::stack<frame> m_frames;
std::stack<thing<>> m_stack;
std::stack<frame> m_frames;
std::vector<thing<>> m_stack;
new_frame_callback m_newFrameCb = nullptr;
};