b'
Using Rust\\u2019s Foreign Function Interface (FFI) with C!
\\nThe code samples here directly match the things I described in the show, so you will likely want to look at add
and ffi::add
, then Point
, translate
, and ffi::translate
in that order.
Other helpful Rust FFI discussions:
\\nThanks to Manning for sponsoring the show and giving all of you a 40%-off discount on their whole store (but especially Carol Nichols\\u2019 and Jake Goulding\\u2019s Rust in Motion video content and the Rust in Action MEAP!) at deals.manning.com/new-rustacean
\\n(Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!)
\\n