-
- Downloads
Bug 1748718 - Part 2: Use the specified type for rust xpidl constants, r=emilio
Previously all xpidl constants were specified as `i64` which means they require casts before being passed to any xpcom methods. The lack of typing was not an issue in c++ due to implicit casts from enums to integer types, but using the correct type is much more valuable in Rust. Differential Revision: https://phabricator.services.mozilla.com/D135165
Showing
- netwerk/base/http-sfv/nsIStructuredFieldValues.idl 1 addition, 1 deletionnetwerk/base/http-sfv/nsIStructuredFieldValues.idl
- netwerk/base/http-sfv/src/lib.rs 13 additions, 13 deletionsnetwerk/base/http-sfv/src/lib.rs
- services/sync/golden_gate/src/log.rs 1 addition, 1 deletionservices/sync/golden_gate/src/log.rs
- storage/rust/src/lib.rs 1 addition, 1 deletionstorage/rust/src/lib.rs
- toolkit/components/bitsdownload/src/bits_interface/mod.rs 1 addition, 1 deletiontoolkit/components/bitsdownload/src/bits_interface/mod.rs
- toolkit/components/glean/api/src/ipc.rs 1 addition, 1 deletiontoolkit/components/glean/api/src/ipc.rs
- toolkit/components/places/bookmark_sync/src/merger.rs 1 addition, 1 deletiontoolkit/components/places/bookmark_sync/src/merger.rs
- toolkit/components/places/bookmark_sync/src/store.rs 24 additions, 24 deletionstoolkit/components/places/bookmark_sync/src/store.rs
- xpcom/idl-parser/xpidl/rust.py 2 additions, 1 deletionxpcom/idl-parser/xpidl/rust.py
Loading
Please register or sign in to comment