This commit is contained in:
1 file changed
+6
@@ -1,6 +1,7 @@
|
||||
#include "EvalValue.hpp"
|
||||
#include "NumericEvalValue.hpp"
|
||||
#include "StringEvalValue.hpp"
|
||||
#include "NilEvalValue.hpp"
|
||||
#include <cstring>
|
||||
#include <memory>
|
||||
|
||||
@@ -52,6 +53,11 @@ namespace Porygon::Evaluation {
|
||||
EvalValue *CreateStringEvalValue(const char16_t *s) {
|
||||
return new StringEvalValue(s);
|
||||
}
|
||||
|
||||
EvalValue *CreateNilEvalValue() {
|
||||
return new NilEvalValue();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user