uniffi-js
This directory contains C++ helper code for the UniFFI Rust library (https://github.com/mozilla/uniffi-rs/).
-
UniFFIPointer.*andUniFFIPointerType.*implement theUniFFIPointerWebIDL class -
UniFFI*Scaffolding.cppimplements theUniFFIScaffoldingWebIDL class.- UniFFIGeneratedScaffolding.cpp contains the generated C++ code
- UniFFIScaffolding.cpp is a facade that wraps UniFFIFixtureScaffolding, and UniFFIGeneratedScaffolding if enabled, to implement the interface.
-
ScaffoldingConverter.hcontain helper code to convert values between JS and Rust. This is used by the generated code to make scaffolding calls. -
OwnedRustBuffer.*implements a C++ class to help manager ownership of a RustBuffer. -
UniFFIRust.hcontains definitions for the C functions that UniFFI exports.