Name Description Size
Call.cpp 8501
Call.h 6673
Callbacks.cpp 6191
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. 5430
FfiValue.h 5031
GeneratedScaffolding.cpp 727525
js
moz.build 877
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 1085
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. 2154
Rust.h mozilla_UniFFIRust_h 2245
UniFFIPointer.cpp 5054
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
UniFFIScaffolding.cpp 5517
UniFFIScaffolding.h mozilla_dom_UniFFI_h 2443