As of bug 1957934 <https://bugzilla.mozilla.org/show_bug.cgi?id=1957934> (30 
April 2025, yes it's late...) we got new autogenerated forward declarations 
headers. From now on if you have an interface or dictionary like:

// foo.webidl
interface Foo {};
dictionary FooDict {};

Then you get forward declaration for Foo and FooDict in mozilla/dom/FooFwd.h
.

And with typedefs:

// bar.webidl
typedef (Baz or Waz) BarUnion;

You get an alias named BarUnion in BarFwd.h instead of having to call it 
BarOrWaz.

Questions welcome, and happy software engineering.

(Thank you for the ping to post an actual announcement, unfortunately I 
lost the original notification that pinged me and don't remember who did 
it...)

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/88c8413d-ec92-4ff8-ac54-bdc506be577cn%40mozilla.org.

Reply via email to