diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2016-07-29 11:57:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-29 11:57:53 +0200 |
| commit | 679f88d345744b6e80097fc03b7cc1e69b6be865 (patch) | |
| tree | 024b7f842842d39c95c26037a839d966960870de /src/rustllvm/RustWrapper.cpp | |
| parent | d9a911d236cbecb47775276ba51a5f9111bdbc9c (diff) | |
| parent | 29546dd06d733d065fc497902bbcecbbb06ce621 (diff) | |
| download | rust-679f88d345744b6e80097fc03b7cc1e69b6be865.tar.gz rust-679f88d345744b6e80097fc03b7cc1e69b6be865.zip | |
Rollup merge of #34258 - durka:patch-25, r=steveklabnik
book/ffi: nullable pointer cleanup Expand the "nullable pointer optimization" section with a code example. Fixes #34250. I also noticed that many of the examples use the libc crate just for types such as `c_char` and `c_int`, which are now available through `std::os::raw`. I changed the ones that don't need to rely on libc. I'm glad to revert that part of the commit if it's unwanted churn.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
