Closed Bug 780203 Opened 13 years ago Closed 13 years ago

add some stdint types to xpidl

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: tbsaunde, Assigned: tbsaunde)

References

Details

Attachments

(1 file, 1 obsolete file)

No description provided.
Attached patch patch (obsolete) — Splinter Review
This adds [u]intn_t types to xpidl that map to the c++ type by the same name, which should help us move towards more stdint types (hopefully) I didn't add a int8_t type because xpidl doesn't have a signed 8 bit type, and I sort of figure if we haven't needed it yet its not worth bothering with, but if you like I could try.
Attachment #648761 - Flags: review?(khuey)
Assignee: nobody → trev.saunders
Comment on attachment 648761 [details] [diff] [review] patch Review of attachment 648761 [details] [diff] [review]: ----------------------------------------------------------------- ::: xpcom/idl-parser/typelib.py @@ +23,5 @@ > + 'int64_t': xpt.Type.Tags.int64, > + 'uint8_t': xpt.Type.Tags.uint8, > + 'uint16_t': xpt.Type.Tags.uint16, > + 'uint32_t': xpt.Type.Tags.uint32, > + 'uint64_t': xpt.Type.Tags.uint64, What's up with the goofy formatting here?
(In reply to Ted Mielczarek [:ted] from comment #2) > Comment on attachment 648761 [details] [diff] [review] > patch > > Review of attachment 648761 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: xpcom/idl-parser/typelib.py > @@ +23,5 @@ > > + 'int64_t': xpt.Type.Tags.int64, > > + 'uint8_t': xpt.Type.Tags.uint8, > > + 'uint16_t': xpt.Type.Tags.uint16, > > + 'uint32_t': xpt.Type.Tags.uint32, > > + 'uint64_t': xpt.Type.Tags.uint64, > > What's up with the goofy formatting here? I have no idea, my best guess is that I screwed it up somehow and didn't notice because of screen reader not being setup to read whitespace by default, and of course that I forgot to check manually :(
Attached patch patch v2Splinter Review
make whitespace nicer.
Attachment #648761 - Attachment is obsolete: true
Attachment #648761 - Flags: review?(khuey)
Attachment #648782 - Flags: review?(khuey)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
Somehow the goofy formatting got landed :(
Ah, can we back this out please? This will break what I have in bug 579517. This will be fixed when those patches land.
Sigh. I think I'll have to rebase my work on top of this. :(
(In reply to Ehsan Akhgari [:ehsan] from comment #9) > Ah, can we back this out please? This will break what I have in bug 579517. > This will be fixed when those patches land. if you haven't already rebased on top of it I guess so.
(In reply to Ehsan Akhgari [:ehsan] from comment #10) > Sigh. I think I'll have to rebase my work on top of this. :( sorry, I didn't respond earlier I was out all afternoon.
No problem, turns out that this doesn't hurt my work :-)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: