Crate uniffi_macros
source ·Expand description
Macros for uniffi
.
Currently this is just for easily generating integration tests, but maybe we’ll put some other code-annotation helper macros in here at some point.
Modules
Macros
- A macro to build testcases for a component’s generated bindings.
- Generate the
FfiConverter
and theUniffiCustomTypeConverter
implementations for a Custom Type - ie, for a<T>
which implementsUniffiCustomTypeConverter
via the newtype idiom. - Generate the
FfiConverter
implementation for a Custom Type - ie, for a<T>
which implementsUniffiCustomTypeConverter
. - A helper macro to generate and include component scaffolding.
- A helper macro to include generated component scaffolding.
- Top-level initialization macro
Structs
Functions
Attribute Macros
- A dummy macro that does nothing.