Tags / 1 post

#ffi

2017 1 post

  1. Exposing a Rust library to C

    How whatlang-ffi exposes a Rust crate to C: a cdylib build, repr(C) enums and structs, and strings passed in and out via CStr and CString.