Closed Bug 258813 Opened 22 years ago Closed 12 years ago

need (OK, want) varargs support in XPIDL

Categories

(Core :: XPCOM, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: shaver, Unassigned)

Details

Attachments

(1 file)

[noscript] void sprintf(in string format, out string result, ...); --> NS_IMETHOD Sprintf(const char *format, char **result, ...); Patch coming up.
Limitations on varargs: - must be [noscript], though we _could_ probably make it work for sufficiently-motivated xptcinvoke users; and - must have |void| IDL return, because we don't support retval (IDL-implied, or explicit) in any position but the last, and varargs _really_ needs to be last. Use an |out|, it's basically the same in C++ anyway, and since we require [noscript]... What say ye, vlad?
Mass abdication.
Assignee: shaver → nobody
Component: xpidl → XPCOM
QA Contact: pschwartau → xpcom
Use WebIDL. Also I got to WONTFIX a bug filed by shaver! :P
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: