Name Description Size Coverage
Call.cpp 8501 44 %
Call.h 6673 43 %
Callbacks.cpp 6270 50 %
Callbacks.h Generated code to register a callback handler. This stores a reference to JS callback handler. When Rust wants to invoke a callback method, we will use this reference. Also, call the Rust FFI function to initialize the callback interface. 5518 55 %
FfiValue.h 5031 78 %
GeneratedScaffolding.cpp 725186 46 %
js -
moz.build 877 -
OwnedRustBuffer.cpp 2821 96 %
OwnedRustBuffer.h 2475 100 %
PointerType.h UniFFIPointerType represents of UniFFI allocated pointers. Each UniFFIPointer will have a UniFFIPointerType, which will be a statically allocated type per object exposed by the UniFFI interface 1085 -
README.md # uniffi-js 122 -
ResultPromise.cpp 1970 69 %
ResultPromise.h JS "bridge" for UniFFI This module intefaces with the SpiderMonkey JS API so that other code can focus on the core UniFFI logic. 2154 100 %
Rust.h mozilla_UniFFIRust_h 2245 -
UniFFIPointer.cpp 5054 48 %
UniFFIPointer.h Clone the raw pointer that `UniFFIPointer` holds Use this when lowering the pointer to pass it across the FFI, for example: - When calling a method - When passing the object as an argument to a function 2401 100 %
UniFFIScaffolding.cpp 5688 44 %
UniFFIScaffolding.h mozilla_dom_UniFFI_h 2518 -