Closed Bug 1498059 Opened 6 years ago Closed 6 years ago

XPIDL typed CEnums

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: nika, Assigned: qdot)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 1 obsolete file)

:qDot was wanting something like this, and I offered to throw together something really quickly. This hasn't been heavily tested.
Assignee: nobody → kyle
Add bitflag types to XPIDL, allowing for typed enums in C++ instead of using uintXX_t types. Javascript will still reflect bitflags as interface level consts. Depends on D8593
Attachment #9016110 - Attachment is obsolete: true
Attachment #9016110 - Attachment is obsolete: false
Attachment #9016110 - Attachment is obsolete: true
Attachment #9016781 - Attachment description: Bug 1498059 - Allow 8-bit unsigned consts in XPIDL → Bug 1498059 - Allow 8-bit unsigned consts in XPIDL; ,
Attachment #9016782 - Attachment description: Bug 1498059 - Add typed bitflags to XPIDL → Bug 1498059 - Add typed bitflags to XPIDL;
Attachment #9016783 - Attachment description: Bug 1498059 - Tests for bitfields in XPIDL → Bug 1498059 - Tests for bitfields in XPIDL;
Attachment #9016782 - Attachment description: Bug 1498059 - Add typed bitflags to XPIDL; → Bug 1498059 - Add CEnum types to XPIDL;
Attachment #9016783 - Attachment description: Bug 1498059 - Tests for bitfields in XPIDL; → Bug 1498059 - Tests for CEnums in XPIDL;
Summary: XPIDL typed bitflags → XPIDL typed CEnums
Pushed by kmachulis@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/edfa81173d9d Allow 8-bit unsigned consts in XPIDL; , r=nika,froydnj https://hg.mozilla.org/integration/autoland/rev/40c1a7f25008 Add CEnum types to XPIDL; r=nika,froydnj https://hg.mozilla.org/integration/autoland/rev/58b76f270c22 Tests for CEnums in XPIDL; r=nika,froydnj
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: