mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
EvalState::allocAttr(): Add convenience method
This commit is contained in:
parent
f70434b1fb
commit
c02da99757
2 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue