File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 5f13e9ccc2e3328d4cd8ca49f84e6840dd998346
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: f7a2371c176663d59062ec5158f39faecba45768
5
- refs/heads/try: 0647a0fc2812ec1ea797168def80936b67688391
5
+ refs/heads/try: 37634f3363fa871b72d181920caa2ec23eb63135
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
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