From 4641fcef616a7ee1eece4f00f757958757deb438 Mon Sep 17 00:00:00 2001 From: Michael Bebenita Date: Mon, 9 Aug 2010 08:01:40 -0700 Subject: Added peek() to ptr_vec. --- src/rt/rust_internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/rt/rust_internal.h') diff --git a/src/rt/rust_internal.h b/src/rt/rust_internal.h index b012a478..4f2d8902 100644 --- a/src/rt/rust_internal.h +++ b/src/rt/rust_internal.h @@ -151,6 +151,7 @@ public: T *& operator[](size_t offset); void push(T *p); T *pop(); + T *peek(); void trim(size_t fill); void swap_delete(T* p); }; -- cgit v1.2.3