mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
functionArgs: Allocate bools only once
This commit is contained in:
parent
8c6e0df45f
commit
1fcdd1640e
3 changed files with 9 additions and 2 deletions
|
@ -650,6 +650,11 @@ public:
|
|||
return ListBuilder(*this, size);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a boolean `Value *` without allocating.
|
||||
*/
|
||||
Value *getBool(bool b);
|
||||
|
||||
void mkThunk_(Value & v, Expr * expr);
|
||||
void mkPos(Value & v, PosIdx pos);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue