diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-11-26 19:55:48 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-02-11 11:55:29 +0100 |
commit | c02da997570ac0d9b595d787bea8cb5a4e3cc1f5 (patch) | |
tree | 0f38aef43de1865adeb4b9da8b951a2397f0bcf5 /src/libexpr/eval.hh | |
parent | f70434b1fbbdb0e188718f0c55a8156a7aa08744 (diff) |
EvalState::allocAttr(): Add convenience method
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r-- | src/libexpr/eval.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index d0f298e16..60cf0f87f 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -264,6 +264,7 @@ public: Env & allocEnv(size_t size); Value * allocAttr(Value & vAttrs, const Symbol & name); + Value * allocAttr(Value & vAttrs, const std::string & name); Bindings * allocBindings(size_t capacity); |