From bbfdd64741546863c2412d780097b1fe2457395e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 4 Aug 2004 10:59:20 +0000 Subject: * Allow primops with more that 1 arguments. --- src/libexpr/nixexpr.hh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/libexpr/nixexpr.hh') 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 ATermVector; + + /* Convert a string to an ATerm (i.e., a quoted nullary function applicaton). */ ATerm string2ATerm(const string & s); -- cgit 1.4.1