Closed
Bug 5416
Opened 25 years ago
Closed 15 years ago
should restrict (or warn) about structs passed by value
Categories
(Core :: XPCOM, defect, P4)
Tracking
()
RESOLVED
WONTFIX
Future
People
(Reporter: jband_mozilla, Unassigned)
References
(Depends on 1 open bug)
Details
The 'native' declaration syntax allows for declaring type aliases for structs
without tagging them as ptr or ref.
native foo(JSContext);
rather than
[ptr] native foo(JSContext);
Such types used in params will result in generate a C++ header in which the
struct is passed by value. *Usually* this would be bad. However, there are small
structs (like longlongs on some platforms and point structs) that fit in a word
and *perhaps* ought to be allowed in interfaces. Still, more often than not such
a declaration is a mistake that ought to be flagged.
Updated•25 years ago
|
QA Contact: 1679
Comment 1•25 years ago
|
||
Marking these as ASSIGNED. Pesky bugzilla-daemon.
Comment 2•24 years ago
|
||
[SPAM] Marking milestone 'future' as part of nsbeta3 triage.
Target Milestone: --- → Future
Comment 3•24 years ago
|
||
Mass-reassigning mccabe's non-JS, non-Rhino bugs to jband (34 total).
Would like to cc mccabe; but the mass-reassign page does not allow this.
I'll leave it up to mccabe to decide if he wants to be cc'ed on these -
Assignee: mike+mozilla → jband
Status: ASSIGNED → NEW
Reporter | ||
Comment 4•23 years ago
|
||
mass reassign of xpidl bugs to dbradley@netscape.com
Assignee: jband → dbradley
Updated•23 years ago
|
Status: NEW → ASSIGNED
Updated•23 years ago
|
Priority: P3 → P4
Updated•18 years ago
|
Assignee: dbradley → nobody
Status: ASSIGNED → NEW
QA Contact: xpidl
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•