Expand description
Macros§
- export_
extern_ type - Registers an external type (one defined outside the current crate, e.g.
std::string::StringorVec<T>) as opaque-pointer-exported. Used internally byezffi’s std prelude; downstream users cannot use it unless they define the same traits this macro expands to - wrap_
methods - Wraps a list of methods on an externally-defined type with C-FFI shims.
Used by
ezffito expose Rust std struct methods to C.
Attribute Macros§
- export
- Expose the annotated item through the FFI layer.