aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_internal.h
diff options
context:
space:
mode:
authorMichael Bebenita <[email protected]>2010-08-09 08:01:40 -0700
committerMichael Bebenita <[email protected]>2010-08-09 08:01:40 -0700
commit4641fcef616a7ee1eece4f00f757958757deb438 (patch)
tree9cc7c6db8e0a90cd9e10a4495aa1dd4a65193821 /src/rt/rust_internal.h
parentMade ref_count signed to help detect negative ref_count bugs. (diff)
downloadrust-4641fcef616a7ee1eece4f00f757958757deb438.tar.xz
rust-4641fcef616a7ee1eece4f00f757958757deb438.zip
Added peek() to ptr_vec.
Diffstat (limited to 'src/rt/rust_internal.h')
-rw-r--r--src/rt/rust_internal.h1
1 files changed, 1 insertions, 0 deletions
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);
};