WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
12939
npfunctions.h has declarations for NP_ entrypoints that don't match npupp.h
https://bugs.webkit.org/show_bug.cgi?id=12939
Summary
npfunctions.h has declarations for NP_ entrypoints that don't match npupp.h
Rudi Sherry
Reported
2007-03-01 14:05:27 PST
In npupp.h, which is what has been used to build plug-ins for a while, the declarations for the entrypoints for the exported functions have OSCALL in front of them which translates to WINAPI on windows, which means Pascal. All netscape plug-ins current on windows (including Acrobat's) are compiled with this. In the WebKit, in WebKit/Plugins/npfunctions.h, there is no modifier to the declaration for the entrypoint types, so the compiler thinks they're cdecl. This works on all platforms except windows, where the stack pointer gets messed up. We need to create a macro that resolves to WINAPI on Windows and nothing on other platforms and put them into this declaration.
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-06-30 04:02:51 PDT
NPAPI support is gone since Safari 14 and npfunctions.h is also removed as part of following commit.
https://github.com/WebKit/WebKit/commit/043ef2367e62a2cc7e9facb1bdc42b0867b8dd6d
I think this can be marked as "RESOLVED WONTFIX". Thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug