Closed
Bug 73642
Opened 24 years ago
Closed 21 years ago
Incorrect calling convention in JPEG
Categories
(Core :: Graphics: ImageLib, defect)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
FIXED
mozilla1.0.1
People
(Reporter: mkaply, Assigned: pavlov)
References
Details
(Whiteboard: [imagelib])
Attachments
(1 file, 2 obsolete files)
3.47 KB,
patch
|
pavlov
:
review+
tor
:
superreview+
|
Details | Diff | Splinter Review |
In jmorecfg.h, the JPEG library defines METHODDEF for use when you are defining
callbacks to the JPEG library. This #define is not used in any of our code, so
for OS/2, we had to add PR_CALLBACK in jpeg.cpp.
The attached diff fixes libimg and libpr0n to use METHODDEF rather than a
PR_CALLBACK and fixes jmorecfg.h to properly specify linkages in jpeg.
Note that I am continue to use PR_ stuff in libjpeg because otherwise I would
have had to duplicate a lot of code for NSPR.
This at least moves all of the Moz specific callback stuff into one place.
I've also fixed JPEG to not use PR_PUBLIC_API as this is deprecated - in JPEG
GLOBAL is equivalent to PR_IMPLEMENT and EXTERN is equivalent to PR_EXTERN.
Finally, I've changed it to use PR_EXTERN_C macro rather than explicitly setting
it.
Reporter | ||
Comment 1•24 years ago
|
||
Reporter | ||
Comment 2•24 years ago
|
||
Updated•23 years ago
|
Whiteboard: [imagelib]
Assignee | ||
Updated•23 years ago
|
Target Milestone: --- → mozilla1.0
Comment 4•23 years ago
|
||
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1
(you can query for this string to delete spam or retrieve the list of bugs I've
moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
Reporter | ||
Comment 5•21 years ago
|
||
Attachment #28923 -
Attachment is obsolete: true
Reporter | ||
Updated•21 years ago
|
Attachment #28926 -
Attachment is obsolete: true
Reporter | ||
Updated•21 years ago
|
Attachment #128276 -
Flags: review?(tor)
Assignee | ||
Updated•21 years ago
|
Attachment #128276 -
Flags: review?(tor) → review+
Comment on attachment 128276 [details] [diff] [review]
New patch against current trunk
Please add a line to MOZCHANGES. sr=tor
Attachment #128276 -
Flags: superreview+
Reporter | ||
Comment 7•21 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•