gecko-dev/xpcom/rust
Andrew McCreight 3d1c6d4ceb Bug 1792920, part 3 - Make Rust use a new MozExternalRefCountType instead of XPIDL's nsrefcnt. r=nika
The remaining uses of XPIDL's definition of nsrefcnt in Rust are all
now related to the return type of nsISupport's AddRef and Release
methods. The C++ name of the return types is MozExternalRefCountType,
not nsrefcnt (which is something else entirely), so use a more accurate
name.

I can't use the C++ definition, because it is in C++, and I eventually
want to remove the XPIDL definition, because it isn't accurate for C++,
so in this patch I'll make a specific one for Rust, so the code is a
little easier to read.

Differential Revision: https://phabricator.services.mozilla.com/D159322
2022-10-17 16:09:21 +00:00
..
gecko_logger Bug 1774501 - Update to env_logger 0.9 in various in-tree crates. r=nbp,keeler,xpcom-reviewers,rhunt,nika 2022-06-16 20:44:03 +00:00
gkrust_utils Bug 1772048 - Update rustc_version and semver crates. r=emilio,webdriver-reviewers,kinetik,whimboo 2022-06-07 10:01:32 +00:00
gtest Bug 1789902 - Part 2: Use XPCOM static components instead of Services in Rust, r=xpcom-reviewers,necko-reviewers,barret,valentin 2022-09-13 13:47:13 +00:00
moz_task Bug 1789509 - Use drop(Box::from_raw). r=xpcom-reviewers,nika 2022-09-07 20:50:15 +00:00
nserror Bug 1751331 - Use the mozbuild crate in nserror. r=xpcom-reviewers,nika 2022-01-25 21:29:53 +00:00
nsstring
xpcom Bug 1792920, part 3 - Make Rust use a new MozExternalRefCountType instead of XPIDL's nsrefcnt. r=nika 2022-10-17 16:09:21 +00:00