File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed
branches/dist-snap/src/libcore Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9
9
refs/heads/incoming: 44d4d6de762f3f9aae1fedcf454c66b79b3ad58d
10
- refs/heads/dist-snap: 0647a0fc2812ec1ea797168def80936b67688391
10
+ refs/heads/dist-snap: 37634f3363fa871b72d181920caa2ec23eb63135
11
11
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
12
12
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
13
13
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
Original file line number Diff line number Diff line change 9
9
// except according to those terms.
10
10
11
11
/*!
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.
13
25
*
14
26
* We consider the following specs reasonably normative with respect
15
27
* to interoperating with the C standard library (libc/msvcrt):
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ pub impl StreamWatcher {
81
81
return ( * alloc_cb) ( suggested_size as uint ) ;
82
82
}
83
83
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 ) {
85
85
rtdebug ! ( "buf addr: %x" , buf. base as uint) ;
86
86
rtdebug ! ( "buf len: %d" , buf. len as int) ;
87
87
let mut stream_watcher: StreamWatcher = NativeHandle :: from_native_handle ( stream) ;
You can’t perform that action at this time.
0 commit comments