Closed Bug 544440 Opened 14 years ago Closed 11 years ago

IPDL: Remove support for possibly platform-dependent-sized types

Categories

(Core :: IPC, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: cjones, Unassigned)

Details

Needs to be done for loading 32-bit plugins in subprocesses of 64-bit firefox, and better sooner rather than later.

I think these are the possibly offending types.

    'int',
    'long',
    'intptr_t',
    'uintptr_t',
    'size_t',
    'ssize_t',
    'PRBool',
    'PRSize',
There are core windows types (HANDLE) which are different sizes, IIRC. We could remove support for these, or we could force them to be serialized at a fixed size using traits.

PRBool is fixed-size, FWIW. What about `bool`?
OK.  AFAIK 'bool' isn't necessarily fixed size; I had intended to put it on the list.  Thanks for pointing out the omission.
We have a reasonable scheme for this now.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.