diff options
Diffstat (limited to 'src/libexpr/nixexpr.hh')
-rw-r--r-- | src/libexpr/nixexpr.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libexpr/nixexpr.hh b/src/libexpr/nixexpr.hh index ecd2534088..30145c87b3 100644 --- a/src/libexpr/nixexpr.hh +++ b/src/libexpr/nixexpr.hh @@ -47,6 +47,12 @@ private: }; +/* A STL vector of ATerms. Should be used with great care since it's + stored on the heap, and the elements are therefore not roots to the + ATerm garbage collector. */ +typedef vector<ATerm> ATermVector; + + /* Convert a string to an ATerm (i.e., a quoted nullary function applicaton). */ ATerm string2ATerm(const string & s); |