feat(furvm): add frames function to executor

This commit is contained in:
2026-08-12 23:05:37 +02:00
parent d419b62225
commit 15218d7530
+2 -1
View File
@@ -5,7 +5,6 @@
#include "furvm/module.hpp" // IWYU pragma: keep #include "furvm/module.hpp" // IWYU pragma: keep
#include "furvm/thing.hpp" // IWYU pragma: keep #include "furvm/thing.hpp" // IWYU pragma: keep
#include <optional>
#include <stack> #include <stack>
#include <utility> #include <utility>
#include <vector> #include <vector>
@@ -103,6 +102,8 @@ public:
* @return The frame. * @return The frame.
*/ */
frame frame() const; frame frame() const;
const std::stack<struct frame>& frames() const { return m_frames; }
public: public:
/** /**
* @brief Pushes a thing handle onto the stack. * @brief Pushes a thing handle onto the stack.