]> git.lizzy.rs Git - rust.git/commit
book/ffi: nullable pointer, libc cleanups
authorAlex Burka <durka42+github@gmail.com>
Mon, 13 Jun 2016 17:22:38 +0000 (13:22 -0400)
committerAlex Burka <aburka@seas.upenn.edu>
Wed, 27 Jul 2016 17:58:51 +0000 (13:58 -0400)
commit032ea41e99b39f6af2aa26c0ba049d0d215d8ebb
tree9d7fea0346308076811c77460b860158fb5171d6
parenta373b8437b205cce01a19e7cdef17a50ff7ec84a
book/ffi: nullable pointer, libc cleanups

Expand the "nullable pointer optimization" section with a code example.

Change examples to use std::os::raw instead of libc, when applicable.
src/doc/book/ffi.md