Closed
Bug 143771
Opened 23 years ago
Closed 22 years ago
Embedding API not exported as C linkage
Categories
(Core Graveyard :: Embedding: APIs, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Future
People
(Reporter: hingwah, Assigned: adamlock)
References
Details
(Keywords: embed, topembed-)
Attachments
(1 file)
(deleted),
patch
|
dougt
:
review+
blizzard
:
superreview+
|
Details | Diff | Splinter Review |
the API NS_InitEmbedding and NS_TermEmbedding is not exported as C linkage
and it create compiler dependency
Reporter | ||
Updated•23 years ago
|
Severity: normal → critical
Priority: -- → P1
Target Milestone: --- → mozilla1.0
Comment 1•23 years ago
|
||
The target milestone and priority fields are only for the assigned developer...
Priority: P1 → --
Target Milestone: mozilla1.0 → ---
Comment 2•23 years ago
|
||
Confirming. Wouldn't this mean that NS_NewLocalFile would have to be extern "C"
too, then?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 3•23 years ago
|
||
It will be nice if NS_NewGenericFactory and NS_NewGenericModule2 be exported
as C linkage too
I don't see this as much of an issue. NS_InitEmbedding & NS_TermEmbedding are
compiled into a static lib, not exported from a DLL or whatever.
Severity: critical → major
Reporter | ||
Comment 6•22 years ago
|
||
But it also doesn't hurt to change it,and you also prevent it from calling in C
C users are going to hit problems with XPCOM in general so it's an issue much
broader than these APIs.
Assignee | ||
Comment 10•22 years ago
|
||
Can I have a review on the patch? It adds extern "C". As embedding is a static
lib, it shouldn't pose any binary compatibility issues.
Assignee | ||
Comment 11•22 years ago
|
||
Comment on attachment 92789 [details] [diff] [review]
Patch makes embedding apis extern "c"
Doug & Chris, can I have an r/sr on this simple patch please?
Attachment #92789 -
Flags: superreview?(blizzard)
Attachment #92789 -
Flags: review?(dougt)
Updated•22 years ago
|
Attachment #92789 -
Flags: review?(dougt) → review+
Comment 12•22 years ago
|
||
Comment on attachment 92789 [details] [diff] [review]
Patch makes embedding apis extern "c"
sr=blizzard
Attachment #92789 -
Flags: superreview?(blizzard) → superreview+
Assignee | ||
Comment 13•22 years ago
|
||
Fix is checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•