From 5b308ec24a22c3ed70b0cdc1d986acc6853f24d0 Mon Sep 17 00:00:00 2001 From: Alexander Stavonin Date: Sun, 15 Apr 2012 16:40:47 +0900 Subject: [PATCH] export buf_len from ptr --- src/libcore/ptr.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs index 8718ad2274b..be74dfad32e 100644 --- a/src/libcore/ptr.rs +++ b/src/libcore/ptr.rs @@ -9,6 +9,8 @@ export is_null; export is_not_null; export memcpy; export memmove; +export buf_len; +export position; import libc::c_void; @@ -154,4 +156,4 @@ fn test_buf_len() unsafe { } } } -} \ No newline at end of file +}