Extern C support for creating NilEvalValue
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
4c97a7c811
commit
f5bfd9c710
|
@ -1,6 +1,7 @@
|
||||||
#include "EvalValue.hpp"
|
#include "EvalValue.hpp"
|
||||||
#include "NumericEvalValue.hpp"
|
#include "NumericEvalValue.hpp"
|
||||||
#include "StringEvalValue.hpp"
|
#include "StringEvalValue.hpp"
|
||||||
|
#include "NilEvalValue.hpp"
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
@ -52,6 +53,11 @@ namespace Porygon::Evaluation {
|
||||||
EvalValue *CreateStringEvalValue(const char16_t *s) {
|
EvalValue *CreateStringEvalValue(const char16_t *s) {
|
||||||
return new StringEvalValue(s);
|
return new StringEvalValue(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EvalValue *CreateNilEvalValue() {
|
||||||
|
return new NilEvalValue();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue