diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-08-04T10·59+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-08-04T10·59+0000 |
commit | bbfdd64741546863c2412d780097b1fe2457395e (patch) | |
tree | 198309fd082893cfbb24f5dd044e53d1723a2b6b /src/libexpr/nixexpr.hh | |
parent | e3a50f7e25c552a78974fae684484d27a36b7c60 (diff) |
* Allow primops with more that 1 arguments.
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 ecd2534088f6..30145c87b344 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); |