diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-03-30T22·39+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-03-30T22·39+0000 |
commit | 7f19e03c65693ae6a5eefc7e681b3003676d38eb (patch) | |
tree | 80328ff57eef8b1c208e74bb270361c456b829f6 /src/libexpr/eval.hh | |
parent | 47df476daa568af9f645b6a039c028e602a7e44b (diff) |
* More primops.
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r-- | src/libexpr/eval.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 87ab7733ada2..198d936b9738 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -105,7 +105,7 @@ static inline void mkBool(Value & v, bool b) void mkString(Value & v, const char * s); -void mkString(Value & v, const string & s, const PathSet & context); +void mkString(Value & v, const string & s, const PathSet & context = PathSet()); void mkPath(Value & v, const char * s); @@ -207,6 +207,7 @@ public: Env & allocEnv(); void mkList(Value & v, unsigned int length); + void mkAttrs(Value & v); /* Print statistics. */ void printStats(); |