refactor(3p/nix/libexpr): state->allocBindings -> Bindings::NewGC
EvalState::allocBindings had little to do with Bindings, other than returning them, and didn't belong in that class.
This commit is contained in:
parent
e24466c795
commit
b3c9166b23
10 changed files with 14 additions and 15 deletions
2
third_party/nix/src/libexpr/eval.hh
vendored
2
third_party/nix/src/libexpr/eval.hh
vendored
|
|
@ -258,8 +258,6 @@ class EvalState {
|
|||
|
||||
Value* allocAttr(Value& vAttrs, const Symbol& name);
|
||||
|
||||
[[deprecated]] static Bindings* allocBindings(size_t capacity);
|
||||
|
||||
void mkList(Value& v, size_t size);
|
||||
void mkAttrs(Value& v, size_t capacity);
|
||||
void mkThunk_(Value& v, Expr* expr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue