Skip to content

Commit 79a6fe5

Browse files
committed
Merge pull request #2211 from astavonin/master
export buf_len from ptr
2 parents b78ca38 + 5b308ec commit 79a6fe5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libcore/ptr.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ export is_null;
99
export is_not_null;
1010
export memcpy;
1111
export memmove;
12+
export buf_len;
13+
export position;
1214

1315
import libc::c_void;
1416

@@ -154,4 +156,4 @@ fn test_buf_len() unsafe {
154156
}
155157
}
156158
}
157-
}
159+
}

0 commit comments

Comments
 (0)