We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c435555 commit 2481e94Copy full SHA for 2481e94
src/engine/compiler.cpp
@@ -53,6 +53,12 @@ const std::vector<unsigned int> &Compiler::bytecode() const
53
return m_bytecode;
54
}
55
56
+/*! Returns the Engine. */
57
+Engine *Compiler::engine() const
58
+{
59
+ return m_engine;
60
+}
61
+
62
/*! Returns the list of constant input values. */
63
const std::vector<InputValue *> &Compiler::constInputValues() const
64
{
src/engine/compiler.h
@@ -25,6 +25,8 @@ class LIBSCRATCHCPP_EXPORT Compiler
25
26
const std::vector<unsigned int> &bytecode() const;
27
28
+ Engine *engine() const;
29
30
const std::vector<InputValue *> &constInputValues() const;
31
std::vector<Value> constValues() const;
32
0 commit comments