Hi everyone,

When writing functions that interoperate with C code, I tend to find myself importing the same few functions over and over. I'd like to see how everyone feels about a few extensions to the prelude:

* c_int, c_long, c_void, etc.

* ptr::null().

* cast::transmute().

I feel like these are relatively harmless extensions to the prelude, given Rust's systems focus.

Thoughts?

Patrick
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to