Tags / 1 post
#ffi
2017 1 post
-
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.
Tags / 1 post
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.