Closed
Bug 258813
Opened 22 years ago
Closed 12 years ago
need (OK, want) varargs support in XPIDL
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: shaver, Unassigned)
Details
Attachments
(1 file)
|
3.70 KB,
patch
|
Details | Diff | Splinter Review |
[noscript] void sprintf(in string format, out string result, ...);
-->
NS_IMETHOD Sprintf(const char *format, char **result, ...);
Patch coming up.
| Reporter | ||
Comment 1•22 years ago
|
||
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?
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.
Description
•