mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 22:07:41 +00:00

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