RustForeign Function Interface (FFI)


Syntax

  • #[link(name = "snappy")] // the foreign library to be linked to (optional)

    extern { ... } // list of function signatures in the foreign library