Skip to content
Snippets Groups Projects
Commit aa59bfed authored by Nika Layzell's avatar Nika Layzell
Browse files

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
parent fed16696
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment