Skip to content

Commit f8cc85b

Browse files
committed
---
yaml --- r: 51189 b: refs/heads/try c: 37634f3 h: refs/heads/master i: 51187: 403795a v: v3
1 parent c179398 commit f8cc85b

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 5f13e9ccc2e3328d4cd8ca49f84e6840dd998346
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: f7a2371c176663d59062ec5158f39faecba45768
5-
refs/heads/try: 0647a0fc2812ec1ea797168def80936b67688391
5+
refs/heads/try: 37634f3363fa871b72d181920caa2ec23eb63135
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libcore/libc.rs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,19 @@
99
// except according to those terms.
1010

1111
/*!
12-
* Bindings for libc.
12+
* Bindings for the C standard library and other platform libraries
13+
*
14+
* This module contains bindings to the C standard library,
15+
* organized into modules by their defining standard.
16+
* Additionally, it contains some assorted platform-specific definitions.
17+
* For convenience, most functions and types are reexported from `core::libc`,
18+
* so `pub use core::libc::*` will import the available
19+
* C bindings as appropriate for the target platform. The exact
20+
* set of functions available are platform specific.
21+
*
22+
* *Note* Rustdoc does not indicate reexports currently. Also, because these
23+
* definitions are platform-specific, some may not
24+
* appear in the generated documentation.
1325
*
1426
* We consider the following specs reasonably normative with respect
1527
* to interoperating with the C standard library (libc/msvcrt):

branches/try/src/libcore/rt/uv/net.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ pub impl StreamWatcher {
8181
return (*alloc_cb)(suggested_size as uint);
8282
}
8383

84-
extern fn read_cb(stream: *uvll::uv_stream_t, nread: ssize_t, buf: Buf) {
84+
extern fn read_cb(stream: *uvll::uv_stream_t, nread: ssize_t, ++buf: Buf) {
8585
rtdebug!("buf addr: %x", buf.base as uint);
8686
rtdebug!("buf len: %d", buf.len as int);
8787
let mut stream_watcher: StreamWatcher = NativeHandle::from_native_handle(stream);

0 commit comments

Comments
 (0)