diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-11-18T21·22+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-11-18T21·22+0100 |
commit | 285df765b91588e39d6f35a32e30b84c3cb5be75 (patch) | |
tree | 8f93b3fd527f44f14eacefb6c4c9385f670e8aea /src/libexpr/eval.hh | |
parent | fc33fd86b7727365caab44c05a90d5b52209131b (diff) |
Add a primop unsafeGetAttrPos to return the position of an attribute
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r-- | src/libexpr/eval.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index bcc029f5b9b9..af408cd0bd76 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -243,6 +243,7 @@ public: void mkList(Value & v, unsigned int length); void mkAttrs(Value & v, unsigned int expected); void mkThunk_(Value & v, Expr * expr); + void mkPos(Value & v, Pos * pos); void concatLists(Value & v, unsigned int nrLists, Value * * lists); |