Skip to content

Commit ba75a3e

Browse files
committed
std: Revert demoding of uv_ll. It can't be done without FFI changes
1 parent 8574766 commit ba75a3e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/libstd/uv_ll.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* This module's implementation will hopefully be, eventually, replaced
2020
* with per-platform, generated source files from rust-bindgen.
2121
*/
22-
#[warn(deprecated_mode)];
22+
2323
#[allow(non_camel_case_types)]; // C types
2424

2525
use libc::size_t;
@@ -642,7 +642,7 @@ extern mod rustrt {
642642
fn rust_uv_addrinfo_as_sockaddr_in(input: *addrinfo) -> *sockaddr_in;
643643
fn rust_uv_addrinfo_as_sockaddr_in6(input: *addrinfo) -> *sockaddr_in6;
644644
fn rust_uv_malloc_buf_base_of(sug_size: libc::size_t) -> *u8;
645-
fn rust_uv_free_base_of_buf(+buf: uv_buf_t);
645+
fn rust_uv_free_base_of_buf(++buf: uv_buf_t);
646646
fn rust_uv_get_stream_handle_from_connect_req(
647647
connect_req: *uv_connect_t)
648648
-> *uv_stream_t;
@@ -661,8 +661,8 @@ extern mod rustrt {
661661
fn rust_uv_get_data_for_req(req: *libc::c_void) -> *libc::c_void;
662662
fn rust_uv_set_data_for_req(req: *libc::c_void,
663663
data: *libc::c_void);
664-
fn rust_uv_get_base_from_buf(+buf: uv_buf_t) -> *u8;
665-
fn rust_uv_get_len_from_buf(+buf: uv_buf_t) -> libc::size_t;
664+
fn rust_uv_get_base_from_buf(++buf: uv_buf_t) -> *u8;
665+
fn rust_uv_get_len_from_buf(++buf: uv_buf_t) -> libc::size_t;
666666

667667
// sizeof testing helpers
668668
fn rust_uv_helper_uv_tcp_t_size() -> libc::c_uint;
@@ -1357,8 +1357,8 @@ pub mod test {
13571357

13581358
fn impl_uv_tcp_server(server_ip: &str,
13591359
server_port: int,
1360-
kill_server_msg: ~str,
1361-
server_resp_msg: ~str,
1360+
+kill_server_msg: ~str,
1361+
+server_resp_msg: ~str,
13621362
server_chan: *comm::Chan<~str>,
13631363
continue_chan: *comm::Chan<bool>) unsafe {
13641364
let test_loop = loop_new();

0 commit comments

Comments
 (0)