Closed
Bug 76803
Opened 24 years ago
Closed 24 years ago
eliminate use of NS_DECLARE_ID in mozilla/intl code
Categories
(Core :: Internationalization, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla0.9.1
People
(Reporter: waterson, Assigned: kandrot)
References
Details
(Keywords: memory-footprint)
Attachments
(1 file)
110.84 KB,
patch
|
Details | Diff | Splinter Review |
...since this contributes to much pain and suffering, and causes many duplicate
symbols to be defined.
Reporter | ||
Comment 1•24 years ago
|
||
Taking bug, since I have patches. Roy, can you r=?
Reporter | ||
Comment 2•24 years ago
|
||
Reporter | ||
Comment 3•24 years ago
|
||
The #define's for the g_InstanceCount and g_LockCount are pretty unsightly. It's
a shame we don't have this stuff macro-ized out and integrated with nsIModule,
but, ...
Reporter | ||
Comment 5•24 years ago
|
||
Actually, it turns out we cannot land the |#define g_InstanceCount| cruft
onto the trunk as is (although the rest of the stuff can stay the same). It
causes missing symbols in a dynamic build.
Reporter | ||
Updated•24 years ago
|
Comment 6•24 years ago
|
||
Looks pretty good :-)
To improve the readability, can you change //uconv/ucvko/nsUCvKODll.h
from
extern "C" PRUint16 g_utKSC5601Mapping[];
extern "C" PRUint16 g_ufKSC5601Mapping[];
+#define g_AsciiMapping ucvko_g_AsciiMapping
extern "C" PRUint16 g_AsciiMapping[];
extern "C" PRUint16 g_HangulNullMapping[];
to
+#define g_AsciiMapping ucvko_g_AsciiMapping
extern "C" PRUint16 g_utKSC5601Mapping[];
extern "C" PRUint16 g_ufKSC5601Mapping[];
/r=yokoyama with above change.
Reporter | ||
Comment 7•24 years ago
|
||
roy: I don't want to check in the #define's right now: it turns out that they
screw up the dynamic build. I'm going to have to figure out a better way to deal
with these things.
Comment 8•24 years ago
|
||
Understood.
Reporter | ||
Comment 9•24 years ago
|
||
See bug 77209, which deals specifically with duplicate g_InstanceCount and
g_LockCount variables.
Status: NEW → ASSIGNED
Reporter | ||
Comment 10•24 years ago
|
||
dprice: this patch should pretty much be ready-to-wear. Needs final sign-off
from ftang. Probably should land this in conjunction with the patch in bug
77209.
Assignee: waterson → dprice
Status: ASSIGNED → NEW
Assignee | ||
Comment 12•24 years ago
|
||
Checked this in last week as part of the Ron Guilmette merge,
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•