diff options
Diffstat (limited to 'third_party/nix/src/libexpr/attr-set.hh')
-rw-r--r-- | third_party/nix/src/libexpr/attr-set.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/nix/src/libexpr/attr-set.hh b/third_party/nix/src/libexpr/attr-set.hh index 832733365389..caddc6bebd61 100644 --- a/third_party/nix/src/libexpr/attr-set.hh +++ b/third_party/nix/src/libexpr/attr-set.hh @@ -33,6 +33,10 @@ class Bindings { public: typedef absl::btree_map<Symbol, Attr>::iterator iterator; + // Allocate a new attribute set that is visible to the garbage + // collector. + static Bindings* NewGC(); + // Return the number of contained elements. size_t size(); |