Closed
Bug 780203
Opened 13 years ago
Closed 13 years ago
add some stdint types to xpidl
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: tbsaunde, Assigned: tbsaunde)
References
Details
Attachments
(1 file, 1 obsolete file)
|
2.37 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•13 years ago
|
||
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)
Updated•13 years ago
|
Assignee: nobody → trev.saunders
Comment 2•13 years ago
|
||
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?
| Assignee | ||
Comment 3•13 years ago
|
||
(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 :(
| Assignee | ||
Comment 4•13 years ago
|
||
make whitespace nicer.
Attachment #648761 -
Attachment is obsolete: true
Attachment #648761 -
Flags: review?(khuey)
Attachment #648782 -
Flags: review?(khuey)
Attachment #648782 -
Flags: review?(khuey) → review+
| Assignee | ||
Comment 5•13 years ago
|
||
Comment 6•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
Comment 7•13 years ago
|
||
Somehow the goofy formatting got landed :(
| Assignee | ||
Comment 8•13 years ago
|
||
Comment 9•13 years ago
|
||
Ah, can we back this out please? This will break what I have in bug 579517. This will be fixed when those patches land.
Comment 10•13 years ago
|
||
Sigh. I think I'll have to rebase my work on top of this. :(
Comment 11•13 years ago
|
||
| Assignee | ||
Comment 12•13 years ago
|
||
(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.
| Assignee | ||
Comment 13•13 years ago
|
||
(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.
Comment 14•13 years ago
|
||
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.
Description
•