mirror of
https://github.com/NixOS/nix
synced 2025-06-28 01:11:15 +02:00
Add function to allocate a Value in traceable memory
This commit is contained in:
parent
1290411c2d
commit
b3e5eea4a9
2 changed files with 13 additions and 0 deletions
|
@ -261,4 +261,9 @@ typedef std::map<Symbol, Value *> ValueMap;
|
|||
#endif
|
||||
|
||||
|
||||
/* A value allocated in traceable memory. */
|
||||
typedef std::shared_ptr<Value *> RootValue;
|
||||
|
||||
RootValue allocRootValue(Value * v);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue