Name Description Size
Call.cpp 8501
Call.h 6659
Callbacks.cpp 2650
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. 3665
FfiValue.h 5089
GeneratedScaffolding.cpp 494170
js
moz.build 880
OwnedRustBuffer.cpp 2821
OwnedRustBuffer.h 2475
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 1076
README.md # uniffi-js 122
ResultPromise.cpp 1970
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. 2182
Rust.h mozilla_UniFFIRust_h 2245
UniFFIPointer.cpp 5113
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 2389
UniFFIScaffolding.cpp 5204
UniFFIScaffolding.h mozilla_dom_UniFFI_h 2295